Opened 19 years ago

Closed 19 years ago

#3696 closed defect (fixed)

Error installing nessus-core

Reported by: jeremyt@… Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

I have successfully installed nessus-libraries and libnasl but I am unable to get nessus-core to install. I am running gcc-4.0.0 if that makes any difference. Below is part of the debug where the warnings and errors occur. Thanks in advance for any assistance you can provide me.

Jeremy

gcc -g -O2 sh ./cflags -c read_target_file.c read_target_file.c: In function 'read_target_file': read_target_file.c:165: warning: initialization discards qualifiers from pointer target type cd gdchart0.94b && make gcc -g -O2 sh ../cflags -Igd1.3 -I. -c gdc.c gcc -g -O2 sh ../cflags -Igd1.3 -I. -c gdchart.c gcc -g -O2 sh ../cflags -Igd1.3 -I. -c price_conv.c gcc -g -O2 sh ../cflags -Igd1.3 -I. -c gdc_pie.c cd gd1.3 ; make -f Makefile libgd.a gcc -g -O2 -c -o gd.o gd.c gcc -g -O2 -c -o gdfontt.o gdfontt.c gcc -g -O2 -c -o gdfonts.o gdfonts.c gcc -g -O2 -c -o gdfontmb.o gdfontmb.c gcc -g -O2 -c -o gdfontl.o gdfontl.c gcc -g -O2 -c -o gdfontg.o gdfontg.c rm -f libgd.a /usr/bin/ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \

gdfontl.o gdfontg.o

gcc -g -O2 sh ./cflags -c regex.c regex.c: In function 're_match_2': regex.c:3857: warning: passing argument 1 of 'bcmp_translate' discards qualifiers from pointer target type regex.c:3857: warning: passing argument 2 of 'bcmp_translate' discards qualifiers from pointer target type gcc -g -O2 sh ./cflags -c filter.c gcc -g -O2 sh ./cflags -c dirutils.c gcc -g -O2 sh ./cflags -c sslui.c gcc -g -O2 sh ./cflags -c nessus.c nessus.c: In function 'connect_to_nessusd': nessus.c:570: warning: pointer targets in passing argument 2 of 'get_server_cert_hash' differ in signedness gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus /opt/local/bin/nessus-config --libs -L/usr/ X11R6/lib -I/usr/X11R6/include -L/opt/local/lib -lgtk-x11-2.0 gdchart0.94b/gd1.3/libgd.a -lm /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libnessus.2.dylib is not prebound /usr/bin/ld: warning multiple definitions of symbol _regcomp regex.o definition of _regcomp in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libdl.dylib(regcomp.So) definition of _regcomp /usr/bin/ld: warning multiple definitions of symbol _regexec regex.o definition of _regexec in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libdl.dylib(regexec.So) definition of _regexec /usr/bin/ld: warning multiple definitions of symbol _regfree regex.o definition of _regfree in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libdl.dylib(regfree.So) definition of _regfree /usr/bin/ld: Undefined symbols: _g_free _g_malloc _g_snprintf _g_type_check_instance_cast _gdk_drawable_unref _gdk_pixmap_colormap_create_from_xpm_d _g_list_append _gdk_pixmap_create_from_xpm_d _g_list_free _g_list_sort collect2: ld returned 1 exit status make[1]: * [nessus] Error 1 make: * [client] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_nessus-core/ work/nessus-core/" && make all" returned error 2 Command output: gcc -g -O2 sh ./cflags -c dirutils.c gcc -g -O2 sh ./cflags -c sslui.c gcc -g -O2 sh ./cflags -c nessus.c nessus.c: In function 'connect_to_nessusd': nessus.c:570: warning: pointer targets in passing argument 2 of 'get_server_cert_hash' differ in signedness gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus /opt/local/bin/nessus-config --libs -L/usr/ X11R6/lib -I/usr/X11R6/include -L/opt/local/lib -lgtk-x11-2.0 gdchart0.94b/gd1.3/libgd.a -lm /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libnessus.2.dylib is not prebound /usr/bin/ld: warning multiple definitions of symbol _regcomp regex.o definition of _regcomp in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libdl.dylib(regcomp.So) definition of _regcomp /usr/bin/ld: warning multiple definitions of symbol _regexec regex.o definition of _regexec in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libdl.dylib(regexec.So) definition of _regexec /usr/bin/ld: warning multiple definitions of symbol _regfree regex.o definition of _regfree in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libdl.dylib(regfree.So) definition of _regfree /usr/bin/ld: Undefined symbols: _g_free _g_malloc _g_snprintf _g_type_check_instance_cast _gdk_drawable_unref _gdk_pixmap_colormap_create_from_xpm_d _g_list_append _gdk_pixmap_create_from_xpm_d _g_list_free _g_list_sort collect2: ld returned 1 exit status make[1]: * [nessus] Error 1 make: * [client] Error 2

Warning: the following items did not execute (for nessus-core): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install

Change History (3)

comment:1 Changed 19 years ago by opendarwin.org@…

Owner: changed from darwinports-bugs@… to opendarwin.org@…

Please check your pkg_config install (I have pkgconfig 0.17.2_1 (active)), older pkg_config was not providing all the required libs. You may need to rebuild things like glib2, gtk2, etc. If that isn't the problem, please provide full output of 'port installed'

comment:2 Changed 19 years ago by opendarwin.org@…

Status: newassigned

comment:3 Changed 19 years ago by jeremyt@…

Resolution: fixed
Status: assignedclosed

I was on pkgconfig 0.17.2_0. I removed pkgconfig, installed pkgconfig 0.17.2_1, and upgraded glib2 and gtk2. Now nessus-core installs fine. Thanks for the quick fix!

Jeremy

Note: See TracTickets for help on using tickets.