LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2003, 03:02 PM   #1
nimgnay
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Question 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!
 
Old 08-16-2003, 03:04 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

What stage is that at (ie which command did you run before that happend)? Can you post the full output.
 
Old 08-17-2003, 02:46 AM   #3
nimgnay
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 08-17-2003, 07:50 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What version of gcc are you running? I would try upgrading to the latest version and retrying.
 
Old 08-17-2003, 09:46 PM   #5
nimgnay
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 08-18-2003, 10:53 AM   #6
nimgnay
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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!
 
Old 09-05-2003, 11:46 PM   #7
nimgnay
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Nobody know how to do it? Is there anybody tried it on redhat 9?
 
Old 09-06-2003, 07:22 AM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

There is a chance that they will work.
 
Old 09-07-2003, 09:32 PM   #9
nimgnay
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nessus install script not finding nessus.tar.gz darin3200 Linux - Software 1 08-15-2005 06:35 PM
RedHat 9.2 compiling problem chanwing Programming 1 04-19-2005 05:53 PM
Compiling error in nessus-core 2.2.2? hacinn Linux - Security 1 12-17-2004 01:47 PM
RedHat Enterprise and Bastille, Nessus peppiv Linux - Security 1 06-23-2004 03:11 PM
Problems compiling nessus kud0ze Linux - General 2 10-31-2001 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration