FreeBSD 4.7 problem installing from ports
Erich Kuehn
ekuehn at bbcominc.com
Tue Nov 5 17:53:38 CET 2002
Im having an issue installing nagios from ports on FreeBSD4.7
Below are error codes and the config.log from the
"/usr/ports/net/nagios/work/nagios-1.0b6/" directory
Thanks
Erich
Error code:
bash-2.05b# make
Great, you have a working ps(1)! Nagios can build.
===> Extracting for nagios-1.0.b6
>> Checksum OK for nagios-1.0b6.tar.gz.
===> nagios-1.0.b6 depends on shared library: gd.2 - found
===> nagios-1.0.b6 depends on shared library: gnugetopt.1 - found
===> Patching for nagios-1.0.b6
===> Applying FreeBSD patches for nagios-1.0.b6
===> Configuring for nagios-1.0.b6
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -I/usr/local/include )
works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
===> Script "configure" failed unexpectedly.
Please report the problem to blaz at si.FreeBSD.org [maintainer] and
attach
the "/usr/ports/net/nagios/work/nagios-1.0b6/config.log" including the
output of the failure of your make command. Also, it might be a good
idea
to provide an overview of all packages installed on your system (e.g.
an
`ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/net/nagios.
Config.log
bash-2.05b# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:659: checking for a BSD compatible install
configure:717: checking for gcc
configure:830: checking whether the C compiler (cc -O -pipe
-I/usr/local/include ) works
configure:846: cc -o conftest -O -pipe -I/usr/local/include
-I/usr/local/include conftest.c -L/
usr/local/lib -lgd -lgnugetopt 1>&5
/usr/local/lib/libgd.so: undefined reference to `uncompress'
/usr/local/lib/libgd.so: undefined reference to `sqrt'
/usr/local/lib/libgd.so: undefined reference to `FT_Init_FreeType'
/usr/local/lib/libgd.so: undefined reference to `jpeg_read_scanlines'
/usr/local/lib/libgd.so: undefined reference to `jpeg_simple_progression'
/usr/local/lib/libgd.so: undefined reference to `FT_Load_Glyph'
/usr/local/lib/libgd.so: undefined reference to `FT_Done_Face'
/usr/local/lib/libgd.so: undefined reference to `png_get_rowbytes'
/usr/local/lib/libgd.so: undefined reference to `png_set_strip_16'
/usr/local/lib/libgd.so: undefined reference to `floor'
/usr/local/lib/libgd.so: undefined reference to `png_create_read_struct'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Kerning'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Char_Index'
/usr/local/lib/libgd.so: undefined reference to `png_set_sig_bytes'
/usr/local/lib/libgd.so: undefined reference to `jpeg_set_defaults'
/usr/local/lib/libgd.so: undefined reference to `png_set_read_fn'
/usr/local/lib/libgd.so: undefined reference to `png_set_packing'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Glyph'
/usr/local/lib/libgd.so: undefined reference to `png_get_io_ptr'
/usr/local/lib/libgd.so: undefined reference to `jpeg_start_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy'
/usr/local/lib/libgd.so: undefined reference to `png_set_IHDR'
/usr/local/lib/libgd.so: undefined reference to `jpeg_write_marker'
/usr/local/lib/libgd.so: undefined reference to `png_set_tRNS'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_To_Bitmap'
/usr/local/lib/libgd.so: undefined reference to `png_get_valid'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_std_error'
/usr/local/lib/libgd.so: undefined reference to `jpeg_CreateDecompress'
/usr/local/lib/libgd.so: undefined reference to `png_create_write_struct'
/usr/local/lib/libgd.so: undefined reference to `cos'
/usr/local/lib/libgd.so: undefined reference to `png_get_error_ptr'
/usr/local/lib/libgd.so: undefined reference to `sin'
/usr/local/lib/libgd.so: undefined reference to `atan2'
/usr/local/lib/libgd.so: undefined reference to `png_write_info'
/usr/local/lib/libgd.so: undefined reference to `png_set_PLTE'
/usr/local/lib/libgd.so: undefined reference to `FT_Set_Char_Size'
/usr/local/lib/libgd.so: undefined reference to `png_get_PLTE'
/usr/local/lib/libgd.so: undefined reference to `jpeg_read_header'
/usr/local/lib/libgd.so: undefined reference to `jpeg_start_compress'
/usr/local/lib/libgd.so: undefined reference to `png_write_end'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_compress'
/usr/local/lib/libgd.so: undefined reference to `png_get_IHDR'
/usr/local/lib/libgd.so: undefined reference to `png_set_write_fn'
/usr/local/lib/libgd.so: undefined reference to `jpeg_finish_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_resync_to_restart'
/usr/local/lib/libgd.so: undefined reference to `jpeg_CreateCompress'
/usr/local/lib/libgd.so: undefined reference to `FT_Done_Glyph'
/usr/local/lib/libgd.so: undefined reference to `png_read_info'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Get_CBox'
/usr/local/lib/libgd.so: undefined reference to `jpeg_finish_compress'
/usr/local/lib/libgd.so: undefined reference to `png_destroy_read_struct'
/usr/local/lib/libgd.so: undefined reference to `png_check_sig'
/usr/local/lib/libgd.so: undefined reference to `png_write_image'
/usr/local/lib/libgd.so: undefined reference to `png_read_update_info'
/usr/local/lib/libgd.so: undefined reference to `png_read_image'
/usr/local/lib/libgd.so: undefined reference to `png_get_tRNS'
/usr/local/lib/libgd.so: undefined reference to `FT_New_Face'
/usr/local/lib/libgd.so: undefined reference to `png_create_info_struct'
/usr/local/lib/libgd.so: undefined reference to `compress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_set_quality'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Transform'
/usr/local/lib/libgd.so: undefined reference to `jpeg_write_scanlines'
/usr/local/lib/libgd.so: undefined reference to `png_destroy_write_struct'
/usr/local/lib/libgd.so: undefined reference to `png_read_end'
configure: failed program was:
#line 841 "configure"
#include "confdefs.h"
main(){return(0);}
Installed PKGs
bash-2.05b# ls /var/db/pkg
XFree86-4.2.0_1,1 lwp-1.9
XFree86-FontServer-4.2.0 lynx-2.8.4.1c
XFree86-Server-4.2.1_3 m4-1.4_1
XFree86-clients-4.2.1_1 ncftp1-1.9.5
XFree86-documents-4.2.0 p5-Compress-Zlib-1.16
XFree86-font100dpi-4.2.0 p5-Digest-MD5-2.20
XFree86-font75dpi-4.2.0 p5-Event-0.86
XFree86-fontCyrillic-4.2.0_4 p5-Filter-1.28
XFree86-fontDefaultBitmaps-4.2.0 p5-HTML-Parser-3.26
XFree86-fontEncodings-4.2.0 p5-HTML-Tagset-3.03
XFree86-fontScalable-4.2.0 p5-MIME-Base64-2.12
XFree86-libraries-4.2.1_1 p5-Net-1.11,1
autoconf-2.53_1 p5-POE-0.23
automake-1.5,1
p5-POE-Component-Client-UserAgent-0.04
bash-2.05b.004 p5-ParallelUA-2.54
bsdpan-mod_perl-1.27 p5-Storable-2.04
cvsup-without-gui-16.1f p5-Test-Simple-0.47
ezm3-1.0 p5-Time-HiRes-1.36,1
freetype2-2.1.2 p5-URI-1.22
gmake-3.79.1_3 p5-libwww-5.65_1
help2man-1.26 perl-5.6.1_8
imake-4.2.0_1 perl-5.8.0_3
libgnugetopt-1.2 unzip-5.50
linux_base-7.1_1 wrapper-1.0_2
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
More information about the Users
mailing list