www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2013/06/28/11:21:55

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: <CAGRhJMZ8ExprmaqDKAs4ZN6PXMbH1p+v3-zyAR3E4OLBSPJdWQ@mail.gmail.com>
References: <CAGRhJMbfzw5F6fbWhOmHHw+U4SWx=DWycGqHq9bih0eU5eaCEA AT mail DOT gmail DOT com>
<BBCAACD4-6C2C-429C-AA55-361D1269C497 AT jump-ing DOT de> <CAGRhJMZ8ExprmaqDKAs4ZN6PXMbH1p+v3-zyAR3E4OLBSPJdWQ AT mail DOT gmail DOT com>
From: Joshua Lansford <joshua DOT lansford AT laserlinc DOT com>
Date: Fri, 28 Jun 2013 11:21:18 -0400
Message-ID: <CAGRhJMYj_YF8RsfSjvAXyOAAt0DqToyZBjTdeHNSqLbg_=FuUA@mail.gmail.com>
Subject: Re: [geda-help] Compiling PCB from git.
To: geda-help <geda-help AT delorie DOT com>
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

--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&#39;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&#39;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&#39;t exactly a &quot;clean&quot;=A0Debian=A0install=
, I&#39;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">&lt;<a =
href=3D"mailto:joshua DOT lansford AT laserlinc DOT com" target=3D"_blank">joshua.lans=
ford AT laserlinc DOT com</a>&gt;</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">&lt;<a href=3D"mailto:mah AT j=
ump-ing.de" target=3D"_blank">mah AT jump-ing DOT de</a>&gt;</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&#39;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&#39;:<br>
configure: error: OpenGL is required.<br>
See `config.log&#39; for more details<br>
</blockquote>
<br></div>
Actually looking into config.log can help. There, near the bottom of the fi=
le, you&#39;ll see the small test programs configure tries to compile and a=
lso see with which compiler messages they fail. Often a file can&#39;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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019