[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: 20030901 build problem for gschem?



> I'm not finding a libgeda.pc any place
> after building libgeda?

Some install didn't go OK.
for my part, I've installed using this :
	./configure --prefix=$HOME/gEda/target
	make
	make install
and I can see :
prompt> pwd
/home/jeanlucwoody/gEda/target
prompt> lgrep -r libgeda
./include/libgeda/libgeda.h
./lib/pkgconfig/libgeda.pc
./lib/libgeda.so.19.0.0
./lib/libgeda.la
./lib/libgeda.a

At the end of :
	cd geda-gschem-20030901/
	./configure --prefix=$HOME/gEda/target
I can see :	
** Configuration summary for geda-gschem 20030901:

   GTK+ library version:             1.2.10
   GUILE library version:            1.4.1
   libgeda library version:          20030901
   libstroke library:                yes
   libdgeda library:                 yes
   mingw build:                      no
   data directory:                   /home/jeanlucwoody/gEda/target/share/gEDA
   rc directory:                     /home/jeanlucwoody/gEda/target/share/gEDA

I had some problem with libstroke (still searching ... but it is another 
story),

Knowing the above, of course :
rootprompt# cat /etc/ld.so.conf
/usr/X11R6/lib
/home/jeanlucwoody/gEda/target/lib

rootprompt# /sbin/ldconfig  (do this if you just changed /etc/ld.so.conf)

prompt> echo $PATH
/home/jeanlucwoody/gEda/target/bin:./:/home/jeanlucwoody/bin: etc...

prompt> echo $PKG_CONFIG_PATH
/home/jeanlucwoody/gEda/target/lib/pkgconfig:/usr/lib/pkgconfig:


> 
> checking for libgeda >= 20030901... Package libgeda was not found in the 
pkg-config search path.
> Perhaps you should add the directory containing `libgeda.pc'
> to the PKG_CONFIG_PATH environment variable

I did what Ales said.
For my part, I have :
export 
PKG_CONFIG_PATH=/home/jeanlucwoody/gEda/target/lib/pkgconfig:/usr/lib/pkgconfig:
$PKG_CONFIG_PATH
(sorry my email is cutting the line ... stick all in one line).

Pleased, output echo $PKG_CONFIG_PATH in your next email.


> $ ls ../lib
from where are you ? give precision

> libgeda.a  libgeda.la  libgeda.so  libgeda.so.19  libgeda.so.19.0.0  
OK, it's installed here. but I don't see so well, where is the 'here'.

Where is your source ? and where dou you want to install ?


untill now, I did this : (a bit long sorry)

cd zlib-1.1.4/
    ./configure --prefix=$HOME/gEda/target
    make install

cd libpng-1.2.5/
    cp scripts/makefile.linux makefile
    vi makefile
        prefix=/home/jeanlucwoody/gEda/target
    make
    make install

cd glib-1.2.10/
    ./configure --prefix=$HOME/gEda/target
    make install

cd gettext-0.11.5/
    ./configure --prefix=$HOME/gEda/target
    make install

cd pkgconfig-0.15.0/
    ./configure --prefix=$HOME/gEda/target
    make install

cd libgdgeda-2.0.15/
    ./configure --prefix=$HOME/gEda/target
    make install

cd gtk+-1.2.10/
    ./configure --prefix=$HOME/gEda/target
    make install

cd guile-1.4.1/
    ./configure --prefix=$HOME/gEda/target
    make install

cd guile-gtk-0.19/
    ./configure --prefix=$HOME/gEda/target
    [jeanluc guile-gtk-0.19]>make
    guile-snarf -DHAVE_CONFIG_H -I. -I. -I. 
-I/home/jeanlucwoody/gEda/target/include 
-I/home/jeanlucwoody/gEda/target/include    -I/usr/X11R6/include 
-I/home/jeanlucwoody/gEda/target/lib/glib/include 
-I/home/jeanlucwoody/gEda/target/include  -g -O2
    guile-gtk.c >guile-gtk.c.tmp && mv guile-gtk.c.tmp guile-gtk.x
    make: *** [guile-gtk.x] Erreur 1

I dropp, I don't know and I will use debian packeages :
    apt-get install guile1.4 guile1.4-doc libguile-dev libguile9

cd libstroke-0.5.1/
    ./configure --prefix=$HOME/gEda/target
    make install

cd libgeda-20030901/
    ./configure --prefix=$HOME/gEda/target
    make install

cd geda-symbols-20030901/
    ./configure --prefix=$HOME/gEda/target
    make install

cd geda-gschem-20030901/
    ./configure --prefix=$HOME/gEda/target
    make install

and I stopped .... now investigating some libstroke
configure problem.

Jean-Luc.