Re: Compile Problems on FreeBSD 8.2

2011-06-25 Thread Jeff Johnson

On Jun 25, 2011, at 4:13 AM, Anders F Björklund wrote:

 vrwmil...@gmail.com wrote:
 
 I am compiling RPM 5.3.4 on FreeBSD 8.2-RELEASE and have encountered a 
 compile time error. I am hoping someone might be able to help resolve the 
 error condition. The error is below. Is the error a result of missing or 
 incorrect versions or libraries?
 
 The easiest way to build RPM on FreeBSD is to use the port*, but if you want 
 a more recent version than 5.2.1 the second easiest is to use devtool. If 
 you follow the %ports comments in devtool.conf, running ./devtool freebsd 
 should configure and make it for you...
 
 * http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/rpm5/
 

Actually the standalone %freebsd target that re-invokes devtool
is more likely to have bit rot than building from a cvs checkout and using
./devtool checkout
./devtool fbsd8x
which was running under buildbot's more recently than whatever
is in FreeBSD ports.

And the %fbsd8x target removes a level of recursion that is
quite tricky to explain and support imho.

No matter what:
Have it your won way!
has made RPM nearly impossible to build reliably anywhere, not otherwise.

hth

73 de Jeff

__
RPM Package Managerhttp://rpm5.org
User Communication List rpm-users@rpm5.org


Re: Re: Compile Problems on FreeBSD 8.2

2011-06-13 Thread vrwmiller

Thanks for inquiring. I've resolved the errors and got RPM5 to install.

I resolved the problems by adding other environment variables, including  
CPPFLAGS, LDFLAGS, and LIBS, to the configure command line.


On , Eric MSP Veith eve...@wwweb-library.net wrote:

-BEGIN PGP SIGNED MESSAGE-



Hash: SHA1





How did you ./configure the sources (ie, what parameters)?





Eric





On Tuesday 07 June 2011, vrwmil...@gmail.com wrote:



 Hello,







 I am compiling RPM 5.3.4 on FreeBSD 8.2-RELEASE and have encountered a


 compile time error. I am hoping someone might be able to help resolve  
the



 error condition. The error is below. Is the error a result of missing or



 incorrect versions or libraries?







 libtool: link: gcc -fopenmp -g -O2 -fno-delete-null-pointer-checks



 -D_FORTIFY_SOURCE=2 -fstack-protector -fexceptions -fexceptions



 -D_GNU_SOURCE -D_REENTRANT -o .libs/rpm2cpio rpm2cpio.o


 -L/usr/local/lib ../lib/.libs/librpm.so  
-L/usr/home/vmiller/rpm-5.3.4/db3



 -L/usr/home/vmiller/rpm-5.3.4/beecrypt


 -L/usr/home/vmiller/rpm-5.3.4/neon/src  
-L/usr/home/vmiller/rpm-5.3.4/neon



 -L/usr/home/vmiller/rpm-5.3.4/pcre



 /usr/home/vmiller/rpm-5.3.4/rpmdb/.libs/librpmdb.so



 ../rpmdb/.libs/librpmdb.so



 /usr/home/vmiller/rpm-5.3.4/rpmio/.libs/librpmio.so



 /usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so



 ../rpmio/.libs/librpmio.so -lm ../misc/.libs/librpmmisc.so -lgomp



 -lmagic -lz -lpthread



 /usr/local/lib/libpopt.so /usr/local/lib/libintl.so



 /usr/local/lib/libiconv.so -pthread -Wl,-rpath -Wl,/usr/local/lib


 /usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined  
reference



 to xmlCreatePushParserCtxt'


 /usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined  
reference



 to xmlCtxtUseOptions'


 /usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined  
reference



 to gss_delete_sec_context'


 /usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined  
reference



 to gss_release_buffer'


 /usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined  
reference



 to xmlFreeParserCtxt'


 /usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined  
reference



 to gss_import_name'
/usr/h=



 ome/vmiller/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined reference to



 gss_release_name'
/usr/home/vmil=



 ler/rpm-5.3.4/misc/.libs/librpmmisc.so: undefined reference to



 xmlParseChunk'
/usr/home/vmiller/rpm-5.3.4/mis=



 c/.libs/librpmmisc.so: undefined reference to gss_display_status'
 //usr/home/vmiller/rpm-5.3.4/misc/.libs= /librpmmisc.so: undefined



 reference to gss=



 _init_sec_context'
 //usr/home/vmiller/rpm-5.3.4/misc/.libs/librpmmi= sc.so: undefined



 reference to GSS_C_NT_HOST=



 BASED_SERVICE'
*** Error code 1



Stop in



 /usr/home/vmill= er/rpm-5.3.4/tools.
*** Error code 1



 /Stop in /usr/home/vmil= ler/rpm-5.3.4/tools.
*** Error code 1
 /
Stop in /usr/home/vmi= ller/rpm-5.3.4.
*** Error code 1
 /
Stop in /usr/home/vmiller/= rpm-5.3.4.







-BEGIN PGP SIGNATURE-



Version: GnuPG v1.4.9 (GNU/Linux)





iQIcBAEBAgAGBQJN9iUoAAoJEIXD2TZ1epVBZuQP/jz4tilyInhcejIqxCgJ6DvE



cekgC9RONGInVPgxdEtkBNwTswkeY17E54Hla75+LvCRX+cqkUggJeEq5g3LrstG



L6JwM3svGDlqDmo89ZOrrbD0WK1kwv4anSUAXCuI/eMa1J2eRLreOFmgxgndwASD



TWS6eHwTvmLarc1AiprCiFUntxwFrfwphhzQP1sPw4YTzL2ftx7izmK09coFLNsS



Ur3Uyh6+mHwT3mdG3dUi/i1aZSS7zP5HicPudsh2HMfSZt9+p2z0u1lrCgZ1FE/M



xsmvJU/VlBIe3u0rWo/ZSrmiPZOsgnYt1yDEmPIrdpOyWJljbPt2bN1IFPBk/6L9



EWkDmnyjnlhrLxdq5p94G0AqJCmOnBXKmODZivpoZ9Fq0jsJ2cqALDTT2LFYe2eY



PMGrWs8td7E6/gAY6FPQv63jJEdLmMvvO0Mx3APJTjvriyVZaQlKFMPXv+GPfNzZ



cq8BE9NMgfQXb/wcMeCM84dVGiaEVMdjnH2JLsXh/qKhU2ftNvGxI4WJcXaZ6r1Y



Ln17dyWVAkO27LB+lm0o/58W9Vd4kPxs4klpoLP8JWtAX59l0SHdl0xjxBXdUMdk



1kIbiyW5hrKrfCckh0rFIiddvDoSZ0PIPo+umPI0SZ48kkD4qKyBH+WG5DUkMQa9



nuALkGa9AykyjN+9kRQv



=DaH/



-END PGP SIGNATURE-



__



RPM Package Manager http://rpm5.org



User Communication List rpm-users@rpm5.org