[pacman-dev] Fwd: Re: Unable to compile pacman in ubuntu-11.10

Dave Reisner d at falconindy.com
Fri Mar 30 14:45:13 EDT 2012


----- Forwarded message from Dave Reisner <d at falconindy.com> -----

> Date: Fri, 30 Mar 2012 14:44:05 -0400
> From: Dave Reisner <d at falconindy.com>
> To: Talespin Kit <talespin_kit at yahoo.com>
> Subject: Re: [pacman-dev] Unable to compile pacman in ubuntu-11.10
> 
> On Fri, Mar 30, 2012 at 05:12:11AM -0700, Talespin Kit wrote:
> > Finally managed to compile in ubuntu-11.10.
> > 
> > Seems the problem was the Makefile generated by the configure script for the
> > **libalpm **
> > does not add the  **libcrypto** as dependency in the LIBS variable.
> > 
> > Below is the steps.
> > 
> > I have used the git commit e6f72c61a098b52ea29e54b8eb4739a2ff81e6b0 in
> > repo git://projects.archlinux.org/pacman.git
> > 
> > 1) $ git clean -xfd; ./autogen.sh && ./configure --prefix=/usr --sysconfdir=/
> > etc --localstatedir=/var \
> > --enable-git-version --enable-debug --without-gpgme
> > 
> > 2) cd lib/libalpm
> > 
> > 3) In the Makefile replace line
> > 
> > LIBS = -lssl -larchive -lm
> > with
> > LIBS = -lssl -larchive -lm -lcrypto
> > 4) cd ../../ && make
> > 
> 
> top-posted HTML... awesome... I've made some alterations to the build
> system and dropped them in a branch in my repo:
> 
>   git clone git://code.falconindy.com/pacman.git buildsys
> 
> If you could check out this branch and see if you have any more luck
> with auto configuration, it'd be appreciated. I tested this on my 10.04
> LTS install with:
> 
> ./autogen.sh
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> --enable-git-version --enable-debug
> 
> curl and ssl were properly detected for the build. If it does succeed,
> I'd like to see the output of:
> 
> readelf -d ./lib/libalpm/.libs/libalpm.so
> 
> Thanks,
> dave
> 

----- End forwarded message -----

Forwarding to list because I didnt reply-all...

d


More information about the pacman-dev mailing list