[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: Help request
Hi all,
I am trying to build gEDA from CVS. I do have really hard time to travel thru the linux flavors jungle, I have installed five linux versions simultaneously only to be able to find one useful for gEDA. Only Ubuntu was friendly enough for me, still I could not overcome a few problems. I am not familiar with linux or gEDA but I am committed to learn. Please help me to figure out what I am doing wrong. Looks like the instruction from the official gEDA site are for ?standard?? linux distro. On my Ubuntu Dapper (AMD K7 kernel with AMD64 processor) it is not possible to make use of a normal ?export? instruction. Only with help from:
http://www.ubuntuforums.org/showthread.php?t=141647
sudo gedit /root/bashrc (added lines):
LD_LIBRARY_PATH=/home/work/programs/gEDA/lib:$LD_LIBRARY_PATH
PATH=/home/work/programs/gEDA/bin:${PATH}
PKG_CONFIG_PATH=/home/work/programs/gEDA/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH
export PATH
export PKG_CONFIG_PATH
I was able to set somehow the PATH variables. I suspected this is what I was missing according to ?- Set shell variables. *VERY IMPORTANT*? from the README file. Still my adventure of:
$time { make install; }
is ending with:
...
Processing s_undo.texi ...
Processing s_toplevel.texi ...
Processing u_basic.texi ...
cd . \
&& makeinfo `echo libgedadoc.texi | sed 's,.*/,,'`
make[3]: Entering directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda/docs'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /home/work/programs/gEDA/info
mkdir /home/work/programs/gEDA/info
/usr/bin/install -c -m 644 ./libgedadoc.info /home/work/programs/gEDA/info/libgedadoc.info
make[3]: Leaving directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda/docs'
make[2]: Leaving directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda/docs'
Making install in share
make[2]: Entering directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda/share'
make[3]: Entering directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda/share'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /home/work/programs/gEDA/share/gEDA
/usr/bin/install -c -m 644 ./prolog.ps /home/work/programs/gEDA/share/gEDA/prolog.ps
make[3]: Leaving directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda/share'
make[2]: Leaving directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda/share'
make[2]: Entering directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda'
make[3]: Entering directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda'
cd . && autoheader
make[3]: Leaving directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda'
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=[config.h] \
/bin/sh ./config.status
config.status: creating [config.h]
config.status: error: cannot find input file: [config.h].in
make[2]: *** [stamp-h] Error 1
make[2]: Leaving directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/backups/src/electro/geda/sources/geda/devel/libgeda'
make: *** [libgeda_install] Error 2
real 2m44.956s
user 1m11.153s
sys 0m22.148s
Please help me here, I have no clue at all what is wrong. I tried to satisfy somehow the endless dependencies with:
sudo apt-get install pkg-config libgtk2.0-0 libgtk2.0-dev libpango1.0-0 libpango1.0-dev groff \
guile-1.6 guile-1.6-dev libglib2.0-0 libglib2.0-dev gcc g++ gcc make build-essential \
autoconf automake libtool gettext tetex-extra tetex-base tetex-doc latex2html texinfo \
libwxgtk2.6-0 libwxgtk2.6-dev python-wxgtk2.6 libxaw7 libxaw7-dev xaw3dg xaw3dg-dev \
libxaw-headers libxpm-dev python-wxversion wx2.6-headers gperf flex bison tcl8.4 tcl8.4-dev \
libdirectfb-0.9-22 libdirectfb-dev libgtk+2.0-directfb-dev libgtk+2.0-directfb0 gawk \
libgtk+2.0-directfb0 libgtk+2.0-directfb-dev libglade2-dev
In addition, with help from ?Linux From Scratch? I installed some more packages:
# install readline
# /usr/local/include/readline/readline.h or /usr/include/readline/readline.h
cd /home/backups/src/linux
#wget -c ftp://ftp.cwru.edu/pub/bash/readline-5.1.tar.gz
tar -xzf readline-5.1.tar.gz
cd readline-5.1
sudo ./configure --prefix=/usr/local
sudo make
sudo make install
sudo ldconfig
cd /home/backups/src/linux
sudo rm -rf ./readline-5.1
# install diffutils
cd /home/backups/src/linux
tar -xzf diffutils-2.8.1.tar.gz
cd diffutils-2.8.1
patch -Np1 -i ../diffutils-2.8.1-i18n-1.patch
touch man/diff.1
./configure --prefix=/usr
make
make install
cd /home/backups/src/linux
rm -rf ./diffutils-2.8.1
# install diffutils END
glibc-2.3.6 (too long to paste the content here, if anyone is interested just ask)
Some packages I choose here are not required at all but I do not have the knowledge to fine tune this. I spend quite a few nights and weekends with trials and errors to get here. Anyway, I was able to install the gEDA from geda-install-20060124.iso image with no problems. I had no time yet to verify that my CD installation is working with the twisted ?export? for PATH.
To avoid this painful update process and to stretch my lifespan, could somebody out there implement some sort of ?live update? mouse click shortcut for a quick on-line update for the whole gEDA package at once?
And another request. I would like to avoid this unbelievable mess of PATH. It will be possible to replace this mechanism with some sort of *ini or *cfg file inside of gEDA distro (or any other software trick) where the main interface program to look for any required PATH, instead of relaying on the myth of ?standard? linux?
Thanks,
Adrian Nania
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user