Mail Archives: geda-help/2013/06/28/11:21:55
--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 <mah AT jump-ing DOT de> 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
<div dir=3D"ltr">PCB is running :-) =A0<div><br></div><div style>When insta=
lling=A0gschem on this new computer, =A0It was so nice to have the=A0Debian=
=A0specific compile from git instructions:</div><div style><a href=3D"http:=
//wiki.geda-project.org/geda:gaf_building_git_version#debian-based">http://=
wiki.geda-project.org/geda:gaf_building_git_version#debian-based</a><br>
</div><div style><br></div><div style>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.</div><div style><br></div><div style>I didn't see Debia=
n specific compile from git instructions for pcb, so here they are.</div>
<div style>After installing pbc I rewound the virtual machine and=A0re-inst=
alled pcb again=A0to verify I didn't leave a step out.</div><div style>=
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.</div>
<div style><br></div><div style><div>git clone git://<a href=3D"http://git.=
geda-project.org/pcb.git">git.geda-project.org/pcb.git</a></div><div>sudo a=
pt-get build-dep pcb</div><div>sudo aptitude install texlive</div><div>sudo=
aptitude install libpango1.0-dev libgtkglext1-dev</div>
<div>cd pcb</div><div>./autogen.sh</div><div>./configure</div><div>make</di=
v><div>sudo make install</div></div><div style><br></div><div style>~Joshua=
</div></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">
On Fri, Jun 28, 2013 at 10:48 AM, Joshua Lansford <span dir=3D"ltr"><<a =
href=3D"mailto:joshua DOT lansford AT laserlinc DOT com" target=3D"_blank">joshua.lans=
ford AT laserlinc DOT com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_ext=
ra"><br><br><div class=3D"gmail_quote"><div class=3D"im">On Fri, Jun 28, 20=
13 at 10:10 AM, Markus Hitter <span dir=3D"ltr"><<a href=3D"mailto:mah AT j=
ump-ing.de" target=3D"_blank">mah AT jump-ing DOT de</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div><br></div>
I guess it's<br>
<br>
sudo apt-get install libpango1.0-dev libgtkglext1-dev<div><br></div></block=
quote></div><div>Good guess. =A0That was it.=A0</div><div class=3D"im"><div=
>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-sty=
le:solid;padding-left:1ex">
<div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
$./configure<br>
checking for OpenGL library... no<br>
configure: error: in `/home/user/gaf_code/pcb':<br>
configure: error: OpenGL is required.<br>
See `config.log' for more details<br>
</blockquote>
<br></div>
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.</blockquote>
<div><br></div></div><div>Ok, I figured out the file it is missing is OpenG=
L/gl.h.</div><div>Using the information found at=A0<a href=3D"http://www.cy=
berciti.biz/faq/equivalent-of-rpm-qf-command/" target=3D"_blank">http://www=
.cyberciti.biz/faq/equivalent-of-rpm-qf-command/</a>=A0I did a library sear=
ch for it, but only came up with programs which use OpenGL. =A0Meh.</div>
<div><br></div><div>$sudo apt-file search gl.h | grep /gl.h$</div><div>libc=
gal-dev: /usr/include/CGAL/gl.h</div><div>libclanlib-dev: /usr/include/Clan=
Lib-1.0/ClanLib/gl.h</div><div>libcoin60-dev: /usr/include/Inventor/C/glue/=
gl.h</div>
<div>libcoin60-dev: /usr/include/Inventor/system/gl.h</div><div>libfltk1.1-=
dev: /usr/include/FL/gl.h</div><div>libgles1-mesa-dev: /usr/include/GLES/gl=
.h</div><div>libsofa1-dev: /usr/include/sofa/helper/system/gl.h</div><div>
mesa-common-dev: /usr/include/GL/gl.h</div><div>mingw-w64: /usr/amd64-mingw=
32msvc/include/GL/gl.h</div><div>mingw32-runtime: /usr/i586-mingw32msvc/inc=
lude/GL/gl.h=A0</div></div><br></div><div class=3D"gmail_extra">I went ahea=
d and just tried your suggested=A0libraries=A0... and they worked. =A0Which=
the configure script to continue: woot.</div>
<div class=3D"gmail_extra">Thanks :-)</div><span class=3D"HOEnZb"><font col=
or=3D"#888888"><div class=3D"gmail_extra">~Joshua</div></font></span></div>
</blockquote></div><br></div>
--001a11c1b4f86658bc04e0386f7d--
- Raw text -