X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=0+dGzsSldDzaEbR1VFpmw4RszBzbEAHtbcBqCM5875U=; b=NkGNZy/PThHlnPgOW1KNB6wtenqhhS4F/jydy8Q9z56pfLGm9u/UlCcbWfK2ndcAGi GkcuhRC0jGo9jwEh2flZq0zIl/5MrrpKv+Djla8d+CnEggo9evE4d4wEXfT3b3K2M9xR vNSpeAH4LlWcwnfnuHwnliCoW19a+K9M8ae4ppRHpCiQiyp0jycYT0mXAhBADc9qos0r w5HFjeQaj505x8/xw6jzRrk37Bfnr3ZaOyRa76ejz74h4xXLRrx3IU/TH1EWO4PfVQDo NJ08MekqNfb97LPdBoJKum5iLedXOwwIeKdwpwOZ1MhBUu7JcCOYSrhhaCpt5YhNHLSt hQDg== X-Received: by 10.194.219.198 with SMTP id pq6mr10248950wjc.58.1372432898606; Fri, 28 Jun 2013 08:21:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Joshua Lansford Date: Fri, 28 Jun 2013 11:21:18 -0400 Message-ID: Subject: Re: [geda-help] Compiling PCB from git. To: geda-help Content-Type: multipart/alternative; boundary=001a11c1b4f86658bc04e0386f7d X-Gm-Message-State: ALoCoQlhNIq/qXAJGjnSD5JE2ON6fGpRwpOUh09QSyFQTpaXjdu4bwVPBP/lbSyhI7na9LkgKwVd Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --001a11c1b4f86658bc04e0386f7d Content-Type: text/plain; charset=ISO-8859-1 PCB is running :-) When installing gschem on this new computer, It was so nice to have the Debian specific compile from git instructions: http://wiki.geda-project.org/geda:gaf_building_git_version#debian-based That and the addition of wrapping the programs in a shell script so that LD_LIBRARY_PATH is specified got me up running fast. I didn't see Debian specific compile from git instructions for pcb, so here they are. After installing pbc I rewound the virtual machine and re-installed pcb again to verify I didn't leave a step out. I did previously install gschem so that might have brought in some needed libraries, and this isn't exactly a "clean" Debian install, I've been using it for a bit. But hopefully these commands will help someone. git clone git://git.geda-project.org/pcb.git sudo apt-get build-dep pcb sudo aptitude install texlive sudo aptitude install libpango1.0-dev libgtkglext1-dev cd pcb ./autogen.sh ./configure make sudo make install ~Joshua On Fri, Jun 28, 2013 at 10:48 AM, Joshua Lansford < joshua DOT lansford AT laserlinc DOT com> wrote: > > > > On Fri, Jun 28, 2013 at 10:10 AM, Markus Hitter wrote: > >> >> I guess it's >> >> sudo apt-get install libpango1.0-dev libgtkglext1-dev >> >> Good guess. That was it. > > >> $./configure >>> checking for OpenGL library... no >>> configure: error: in `/home/user/gaf_code/pcb': >>> configure: error: OpenGL is required. >>> See `config.log' for more details >>> >> >> Actually looking into config.log can help. There, near the bottom of the >> file, you'll see the small test programs configure tries to compile and >> also see with which compiler messages they fail. Often a file can't be >> found and the packaging system and/or google has capabilities to find the >> package for this specific file. > > > Ok, I figured out the file it is missing is OpenGL/gl.h. > Using the information found at > http://www.cyberciti.biz/faq/equivalent-of-rpm-qf-command/ I did a > library search for it, but only came up with programs which use OpenGL. > Meh. > > $sudo apt-file search gl.h | grep /gl.h$ > libcgal-dev: /usr/include/CGAL/gl.h > libclanlib-dev: /usr/include/ClanLib-1.0/ClanLib/gl.h > libcoin60-dev: /usr/include/Inventor/C/glue/gl.h > libcoin60-dev: /usr/include/Inventor/system/gl.h > libfltk1.1-dev: /usr/include/FL/gl.h > libgles1-mesa-dev: /usr/include/GLES/gl.h > libsofa1-dev: /usr/include/sofa/helper/system/gl.h > mesa-common-dev: /usr/include/GL/gl.h > mingw-w64: /usr/amd64-mingw32msvc/include/GL/gl.h > mingw32-runtime: /usr/i586-mingw32msvc/include/GL/gl.h > > I went ahead and just tried your suggested libraries ... and they worked. > Which the configure script to continue: woot. > Thanks :-) > ~Joshua > --001a11c1b4f86658bc04e0386f7d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
PCB is running :-) =A0

When insta= lling=A0gschem on this new computer, =A0It was so nice to have the=A0Debian= =A0specific compile from git instructions:

That and the addition of wrapping the= programs in a shell script so that=A0LD_LIBRARY_PATH is specified got me u= p running fast.

I didn't see Debia= n specific compile from git instructions for pcb, so here they are.
After installing pbc I rewound the virtual machine and=A0re-inst= alled pcb again=A0to verify I didn't leave a step out.
= I did previously install gschem so that might have brought in some needed l= ibraries, and this isn't exactly a "clean"=A0Debian=A0install= , I've been using it for a bit. =A0But hopefully these commands will he= lp someone.

sudo a= pt-get build-dep pcb
sudo aptitude install texlive
sudo= aptitude install libpango1.0-dev libgtkglext1-dev
cd pcb
./autogen.sh
./configure
make
sudo make install

~Joshua=


On Fri, Jun 28, 2013 at 10:48 AM, Joshua Lansford <joshua.lans= ford AT laserlinc DOT com> wrote:



On Fri, Jun 28, 20= 13 at 10:10 AM, Markus Hitter <mah AT jump-ing DOT de> wrote:

I guess it's

sudo apt-get install libpango1.0-dev libgtkglext1-dev

Good guess. =A0That was it.=A0
=A0
$./configure
checking for OpenGL library... no
configure: error: in `/home/user/gaf_code/pcb':
configure: error: OpenGL is required.
See `config.log' for more details

Actually looking into config.log can help. There, near the bottom of the fi= le, you'll see the small test programs configure tries to compile and a= lso see with which compiler messages they fail. Often a file can't be f= ound and the packaging system and/or google has capabilities to find the pa= ckage for this specific file.

Ok, I figured out the file it is missing is OpenG= L/gl.h.
Using the information found at=A0http://www= .cyberciti.biz/faq/equivalent-of-rpm-qf-command/=A0I did a library sear= ch for it, but only came up with programs which use OpenGL. =A0Meh.

$sudo apt-file search gl.h | grep /gl.h$
libc= gal-dev: /usr/include/CGAL/gl.h
libclanlib-dev: /usr/include/Clan= Lib-1.0/ClanLib/gl.h
libcoin60-dev: /usr/include/Inventor/C/glue/= gl.h
libcoin60-dev: /usr/include/Inventor/system/gl.h
libfltk1.1-= dev: /usr/include/FL/gl.h
libgles1-mesa-dev: /usr/include/GLES/gl= .h
libsofa1-dev: /usr/include/sofa/helper/system/gl.h
mesa-common-dev: /usr/include/GL/gl.h
mingw-w64: /usr/amd64-mingw= 32msvc/include/GL/gl.h
mingw32-runtime: /usr/i586-mingw32msvc/inc= lude/GL/gl.h=A0

I went ahea= d and just tried your suggested=A0libraries=A0... and they worked. =A0Which= the configure script to continue: woot.
Thanks :-)
~Joshua

--001a11c1b4f86658bc04e0386f7d--