oh btw, regarding my inability to create a slackware package, after try
number 7, i successfully did it. =)

thanks to your ideas... =)

On Fri, 2003-03-07 at 19:07, Rafael 'Dido' Sevilla wrote:
> Andy, these only work if your package uses autoconf and automake.
> 
> On Fri, Mar 07, 2003 at 06:48:40PM +0800, Andy Sy wrote:
> > When compiling source code into a temporary directory for 
> > packaging, which of the following will work more often:
> > 
> > 
> > make install prefix=/pkgdir/usr/local
> > 
> 
> Every program that follows GNU coding standards for makefiles (that
> essentially means every program that uses GNU Automake for its build
> process) will honor this.
> 
> > or
> > 
> > make DESTDIR=/pkgdir install
> > 
> 
> DESTDIR is also required by GNU coding standards, and hence is always
> created by Automake generated makefiles.
> 
> > I've encountered one package, omniORB for which DESTDIR
> > worked but prefix was ignored.  Would the reverse sometimes
> > be true for some packages?
> 
> The two methods you've described should only fail if a package doesn't
> follow the GNU makefile guidelines, usually because it doesn't use
> automake, or it goes out of its way to do something highly unnatural in
> a Makefile.am (which is absolutely crazy for anyone to do).
> 
> -- 
> Rafael R. Sevilla <dido at imperium dot ph>   +63(2)8123151
> Software Developer, Imperium Technology Inc.  +63(917)4458925
> "Under the cloud of threatening war, it is humanity hanging from
>                        a cross of iron."
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> 
> Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
> 
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
> PROTECTED]
-- 
-=[mikhail]=-

aka Dean Michael C. Berris
mobile +63 917 8901959
work +63 49 5680024
http://free.net.ph/Members/mikhailberis

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to