Dan Widyono on 22 Dec 2004 03:18:08 -0000


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

Re: [PLUG] GLIB problems


> One thing I've run into fairly often, if I mix RPMs and source installs,
> is that the install paths will not match for the two installs.

Best way I've found to keep this to a minimum is to try compiling a src.rpm,
and see what comes out of the configure line.  This is what I ended up with
amanda, for instance (I removed the amanda-specific lines).  This "standard
Red Hat stuff" is from the system's built-in rpm macros, which are the
essential ingredients.  I'm sure Mandrake has their own standard rpm macros.
Where can you find them without compiling a src.rpm?  I dunno, check the
sources or docs for rpmbuild.

--prefix=/usr
--exec-prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--sysconfdir=/etc
--datadir=/usr/share
--includedir=/usr/include
--libdir=/usr/lib
--libexecdir=/usr/lib/amanda
--localstatedir=/var/lib
--sharedstatedir=/usr/com
--mandir=/usr/share/man
--infodir=/usr/share/info
CFLAGS="-O2 -g -march=i686 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE"

HTH,
Dan W.

-- 
-- Daniel Widyono             --
-- www.widyono.net            --
-- www.cis.upenn.edu/~widyono --
-- 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug