Latest SVN 17006 Debian compile prob

View: New views
2 Messages — Rating Filter:   Alert me  

Latest SVN 17006 Debian compile prob

by Joel Oliver :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 >> Your "make" is broken. It propagates the LDFLAGS local setting done
 >> in src/Makefile to the sub make processes when src/sdbm/Makefile is
 >> processed (it shouldn't).
 >>
 >> To validate this hypothesis, can you hand-edit the src/sdbm/Makefile
 >> file and add the following line above the line setting JLDFLAGS:
 >>
 >> LDFLAGS =
 >>
 >> If that works, please report a bug to "make".
 >>
 >> To know which make you are using do from the top level source directory:
 >>
 >> grep ^make= config.sh
 >>
 >> I'm using "GNU Make 3.81" here and I have no problems.
 >>
 >> Raphael

I tried that, it didn't work.. The usual make/make install works but I
need a .deb package.  Luckily the /debian/rules binary script worked.  I
tried both debuild -us -uc and dpkg-buildpackage -D -us -uc on an older
svn (16952) and it worked fine.  Now on todays 17006 it doesn't work so
something must have changed between then and now.  I tried it on many
different virtual machines such as Ubuntu Hardy, Intrepid, Jaunty,
Karmic, Debian Lenny and Squeeze in both x86 and amd64 and it fails to
build the newer version, yet the older 16952 builds ok.  Like I said the
/debian/rules binary thing worked ok though and a normal make make
install works as well.

Also, another question.... When building deb packages it gets a version
number of 0.96.6-0   Shouldn't it be 0.96.7?

Thanks for any help.

Joel.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gtk-gnutella-users mailing list
gtk-gnutella-users@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users

Re: Latest SVN 17006 Debian compile prob

by Raphael Manfredi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Joel Oliver <joelol75@...> from ml.softs.gtk-gnutella.users:
:I tried that, it didn't work.. The usual make/make install works but I
:need a .deb package.

You need to report a bug to the dpkg-buildpackage package then.  This
is not normal and someone has broken the normal make behaviour.

Luckily the /debian/rules binary script worked.  I
:tried both debuild -us -uc and dpkg-buildpackage -D -us -uc on an older
:svn (16952) and it worked fine.  Now on todays 17006 it doesn't work so
:something must have changed between then and now.

Yes, what has changed is that the normal build process now builds and
links a new program in src/sdbm (dbu).  Which means someone else is now
using LDFLAGS in the Makefile.  But this variable defined in src/Makefile
should not be propagated to src/sdbm/Makefile at all!

:Also, another question.... When building deb packages it gets a version
:number of 0.96.6-0   Shouldn't it be 0.96.7?

Absolutely not, 0.96.7 is not out yet.  It's still "unstable".

However, what do you get when you run:

        gtk-gnutella --version

on the program you built?  There it should say 0.96.7.

Raphael

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gtk-gnutella-users mailing list
gtk-gnutella-users@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users