Peter, Thank you for the fast response. I set LDFLAGS and it still seems to behave the same way.
configure:4491: checking for rrd_update in -lrrd configure:4521: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-dec larations -Wmissing-noreturn -I/usr/local/include -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/l ib conftest.c -lrrd >&5 Thanks, -Berant -----Original Message----- From: Peter Haag [mailto:[EMAIL PROTECTED] Sent: Thursday, October 25, 2007 9:33 AM To: Lemmenes, Berant; [email protected] Subject: Re: [Nfdump-discuss] nfdump 1.5.6 compile problems -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Berant, librrd requires some other dependencies. Under OpenBSD you compile nfdump as: % setenv LDFLAGS '-L/usr/X11R6/lib -L/usr/local/lib' % ./configure --enable-nfprofile --with-rrdpath=... - Peter - --On October 25, 2007 9:26:55 -0400 "Lemmenes, Berant" <[EMAIL PROTECTED]> wrote: | Hello all, | | I'm having issue getting 1.5.6 (or .5) to compile on a OpenBSD 4.0 | system. rrdtool is installed via packages (1.0.49p3) and is installed | under /usr/local like normal. | | It only fails with nfprofile enabled (as expected) and I did specifie | '--with-rrdpath=/usr/local' so it can locate rrd components etc, however | it still complains that it can't link librrd. | | The system is currently running a fairly old snapshot | (snapshot-20060809); I'm going to step through the releases since then | to see when nfdump stops building. | | I'm not a C programmer so I'm not sure if I'm missing something obvious | or not, I did check the archives to see if anything popped and didn't | see anything. | | I did re-run ldconfig making sure that it is in fact checking | /usr/local/lib (which it does by default on OpenBSD), and /usr/local/bin | is also in the $PATH. | | Any pointers would be greatly appreciated. | | Thanks! | Berant Lemmenes | | config.log expert from the rrd_update check: | | configure:4491: checking for rrd_update in -lrrd | configure:4521: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes | -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn | -I/usr/local/include -L/usr/local/lib conftest.c -lrrd >&5 | conftest.c:27: warning: function declaration isn't a prototype | conftest.c:30: warning: function declaration isn't a prototype | /usr/local/lib/librrd.so.2.7: warning: strcpy() is almost always | misused, please use strlcpy() | /usr/local/lib/librrd.so.2.7: warning: sprintf() is often misused, | please use snprintf() | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Init_FreeType' | /usr/local/lib/librrd.so.2.7: undefined reference to `art_svp_free' | /usr/local/lib/librrd.so.2.7: undefined reference to `art_svp_render_aa' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Load_Glyph' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_set_text' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_set_compression_level' | /usr/local/lib/librrd.so.2.7: undefined reference to `art_affine_scale' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_create_read_struct' | /usr/local/lib/librrd.so.2.7: undefined reference to | `art_vpath_add_point' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Get_Kerning' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Get_Char_Index' | /usr/local/lib/librrd.so.2.7: undefined reference to | `art_rgba_rgba_composite' | /usr/local/lib/librrd.so.2.7: undefined reference to | `art_svp_vpath_stroke' | /usr/local/lib/librrd.so.2.7: undefined reference to | `art_vpath_affine_transform' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_get_image_height' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_get_image_width' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Get_Glyph' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_set_IHDR' | /usr/local/lib/librrd.so.2.7: undefined reference to | `FT_Glyph_To_Bitmap' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_malloc' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_create_write_struct' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_write_info' | /usr/local/lib/librrd.so.2.7: undefined reference to | `FT_Vector_Transform' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Done_FreeType' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Set_Char_Size' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_write_end' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Done_Glyph' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_free' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_set_filter' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_read_info' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Glyph_Get_CBox' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_destroy_read_struct' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_write_image' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_New_Face' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_create_info_struct' | /usr/local/lib/librrd.so.2.7: undefined reference to | `FT_Glyph_Transform' | /usr/local/lib/librrd.so.2.7: undefined reference to | `png_destroy_write_struct' | /usr/local/lib/librrd.so.2.7: undefined reference to | `art_svp_from_vpath' | /usr/local/lib/librrd.so.2.7: undefined reference to `png_init_io' | /usr/local/lib/librrd.so.2.7: undefined reference to `FT_Glyph_Copy' | collect2: ld returned 1 exit status | configure:4527: $? = 1 | configure: failed program was: | | /* confdefs.h. */ | | ------------------------------------------------------------------------ - | This SF.net email is sponsored by: Splunk Inc. | Still grepping through log files to find problems? Stop. | Now Search log events and configuration files using AJAX and a browser. | Download your FREE copy of Splunk now >> http://get.splunk.com/ | _______________________________________________ | Nfdump-discuss mailing list | [email protected] | https://lists.sourceforge.net/lists/listinfo/nfdump-discuss - -- _______ SWITCH - The Swiss Education and Research Network ______ Peter Haag, Security Engineer, Member of SWITCH CERT PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7 SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iQCVAwUBRyCbGP5AbZRALNr/AQKE1gP9GbwUV1yIjQh471iWAwRZT+t6ihgyXmXa f0KOecs4d6ezFdlPbNS/rYxRaEEZ+yG1LJkAFclhlOwMoyahCbEbVA5ZbcN169zf /O2EdmnYgG+D6KD5+6xoDusXPCNhZjILglwSxOwEREy6EOWGLAsE2YRteaOiOm6A lWEUIptlm38= =4UzP -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nfdump-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfdump-discuss
