Re: can't compile gnome-libs 1.4



Yes, it seems that the DB lib is missing or you have a DB version 3 ou
upper. Remember that to make gnome libs compile, you must have the
following installed on your system:
gettext > 0.10.35
DocBook
libpng > 1.03
libtiff 
libgiff
libungif (seems that this one superseedes the previous one)
Zlib > 1.1.3
libjpeg
xpm
DB lib V 2.77 (not 3.xx !!!)
Imlib
ORBIT
Gtk+

You may find DBlib at : www.sleepycat.com/dowload/patches
Take care, you must download version 2.7.7 only (not any version 3++) !

If you have DB version 3 or up installed (check your packages with rpm -e
-a), I think that you have to uninstall it before installing the version
2.7.7

To make it work (after unpacking, of course), go into
[...]/db-2.7.7/build_unix/ directory and type the following command:
./dist/configure --prefix=/usr --enable-compat185
CAVEAT: it is mostly important to enable the 1.8.5 compatibility
(--enable-compat185)
Then type make and make install
The DB lib will be installed in /usr/BerkeleyDB, so if you want it to work
you must either:
edit Makefile before doing make and change the install directory (the
easiest way)
   or
copy /usr/BerkeleyDB/bin/* in /usr/bin and /usr/BerkeleyDB/lib/* in
/usr/lib and /usr/BerkeleyDB/include/* in /usr/include (can be done)
   or
declare /usr/BerkeleyDB/bin in PATH and /usr/BerkeleyDB/lib in LDPATH (if
you have it). in that case, you must edit the Makefile used to compile
gnomelibs and add -I/usr/BerkeleyDB/include in $OPTS (harmfull, not
recommended)

Then type ldconfig (this is mandatory)

I hope this will help. Good luck !


Le 2001.04.14 17:23, Jim Philips a écrit :
> I have installed all of the supporting programs and libraries I can find,
> but gnome-libs fails to compile every time. All of the supporting files
> are
> from the 1.4 directory under releases. My system is RedHat 7.0. It gets
> most of the way through compiling and then I get these errors:
> 
> al/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include -g -O2 -Wall -Wunused -c gnome-metadata.c  -fPIC
> -DPIC
> -o .libs/gnome-metadata.lo
> gnome-metadata.c: In function `init':
> gnome-metadata.c:176: warning: implicit declaration of function `dbopen'
> gnome-metadata.c:177: warning: assignment makes pointer from integer
> without a cast
> gnome-metadata.c: In function `metadata_set':
> gnome-metadata.c:302: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:302: too few arguments to function
> gnome-metadata.c:329: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:329: too few arguments to function
> gnome-metadata.c:350: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:350: too few arguments to function
> gnome-metadata.c:357: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:357: too few arguments to function
> gnome-metadata.c: In function `metadata_remove':
> gnome-metadata.c:389: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:389: too few arguments to function
> gnome-metadata.c:416: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:416: too few arguments to function
> gnome-metadata.c:433: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:433: too few arguments to function
> gnome-metadata.c:450: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:450: too few arguments to function
> gnome-metadata.c: In function `metadata_get_list':
> gnome-metadata.c:482: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:482: too few arguments to function
> gnome-metadata.c: In function `metadata_get_no_dup':
> gnome-metadata.c:515: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:515: too few arguments to function
> make[2]: *** [gnome-metadata.lo] Error 1
> make[2]: Leaving directory `/home/rebus/gnomefiles/gnome-libs-1.2.3/libgnome'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rebus/gnomefiles/gnome-libs-1.2.3'
> 
> 
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list
> 
-- 
_____________________
    JF ONDEDIEU

 jfonde fr inter net
_____________________





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