LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem Compiling Nessus 2.0.7 on Redhat (https://www.linuxquestions.org/questions/linux-software-2/problem-compiling-nessus-2-0-7-on-redhat-82600/)

nimgnay 08-16-2003 02:02 PM

Problem Compiling Nessus 2.0.7 on Redhat
 
Downloaded Nessus source codes, and tried to compile it on my Redhat 9, but failed with the compilation on nessus core.

Error is
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x5b4): In function `g_strdown':
: undefined reference to `__ctype_tolower'

and other similar errors.

My RH info:
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003

GTK+-dev is using the one comes with RH9, so does the OpenSSL.

Any idea on this problem?

Thanks a lot!

david_ross 08-16-2003 02:04 PM

Welcome to LQ.

What stage is that at (ie which command did you run before that happend)? Can you post the full output.

nimgnay 08-17-2003 01:46 AM

Thanks a lot, David. It is so nice to meet you in this linux forum. Wish can learn a lot of things from you linux gurus.

After i compiled the libnasl and nessus-libraries without any error showing on the screen, i started compiling the nessus-core with the command ./configure then make.

[root@localhost nessus-core]# make
cd nessus && make
make[1]: Entering directory `/download/nessus/nessus-core/nessus'
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 `/usr/local/bin/nessus-config --libs` -L/usr/X11R6/lib -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib gdchart0.94b/gd1.3/libgd.a -lm
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x5b4): In function `g_strdown':
: undefined reference to `__ctype_tolower'
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x614): In function `g_strup':
: undefined reference to `__ctype_toupper'
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x8ee): In function `g_strchug':
: undefined reference to `__ctype_b'
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x9e5): In function `g_strchomp':
: undefined reference to `__ctype_b'
/usr/lib/libglib.a(gstring.o)(.text+0xbb4): In function `g_string_down':
: undefined reference to `__ctype_tolower'
/usr/lib/libglib.a(gstring.o)(.text+0xc14): In function `g_string_up':
: undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
make[1]: *** [nessus] Error 1
make[1]: Leaving directory `/download/nessus/nessus-core/nessus'
make: *** [client] Error 2

When i tried the installation script, it gives the same error as above also.

Is it becaues any library missing?

david_ross 08-17-2003 06:50 AM

What version of gcc are you running? I would try upgrading to the latest version and retrying.

nimgnay 08-17-2003 08:46 PM

My current gcc version is 3.2.2 20030222 (Red Hat Linux 3.2.2-5).

I will try to update it to the latest, and re-compile again.

Thanks for the suggestion.

nimgnay 08-18-2003 09:53 AM

It seems too complex for me to upgrade the gcc. Is there any possbile reason for the error?

By the way, who has successfully compiled Nessus 2.0.7 on Redhat 9? What is your setting?

Thanks!

nimgnay 09-05-2003 10:46 PM

Nobody know how to do it? Is there anybody tried it on redhat 9?

david_ross 09-06-2003 06:22 AM

There are rpms for RedHat 8:
http://ftp.freshrpms.net/pub/freshrp...at/8.0/nessus/

There is a chance that they will work.

nimgnay 09-07-2003 08:32 PM

After updating Redhat Linux 9 through RHN, the problem is solved. Basicially, the kernel is updated, however the gcc version is still same as before.

Anyway, has managed to get Nessus up and running. Thanks to everybody's great help in past weeks.


All times are GMT -5. The time now is 03:26 PM.