Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

Re: install error Ubuntu 5.02

Subject: Re: install error Ubuntu 5.02
Date: Thu, 11 Aug 2005 13:59:34 +0200 (CEST)
Hi Mr Javier !!!
Thank you for your answer. I take the one option to do
my install but there is some errors during the "make"
of nessus-core. Here is the errors:

root@ubuntu:/usr/local/nessus/nessus-core # make
cd nessus && make
make[1]: entrant dans le répertoire «
/usr/local/nessus/nessus-core/nessus »
gcc -g -O2  `sh ./cflags`        -c xstuff.c
xstuff.c:32:21: gtk/gtk.h : Aucun fichier ou
répertoire de ce type
In file included from xstuff.c:35:
xstuff.h:24: error: erreur de syntaxe before '*' token
xstuff.h:25: error: erreur de syntaxe before '*' token
xstuff.h:26: error: erreur de syntaxe before '*' token
xstuff.h:26: error: erreur de syntaxe before '*' token
xstuff.h:26: attention : type defaults to `int' in
declaration of `make_pixmap'
xstuff.h:26: attention : data definition has no type
or storage class
xstuff.c: Dans la fonction « init_display »:
xstuff.c:41: attention : implicit declaration of
function `gtk_init'
xstuff.c: Hors de toute fonction :
xstuff.c:45: error: erreur de syntaxe before '*' token
xstuff.c: Dans la fonction « close_window »:
xstuff.c:47: attention : implicit declaration of
function `gtk_widget_hide'
xstuff.c:47: error: `w' undeclared (first use in this
function)
xstuff.c:47: error: (Each undeclared identifier is
reported only once
xstuff.c:47: error: for each function it appears in.)
xstuff.c:49: error: `FALSE' undeclared (first use in
this function)
xstuff.c: Hors de toute fonction :
xstuff.c:51: error: erreur de syntaxe before '*' token
xstuff.c: Dans la fonction « delete_event »:
xstuff.c:53: error: `FALSE' undeclared (first use in
this function)
xstuff.c: Dans la fonction « close_display »:
xstuff.c:57: attention : implicit declaration of
function `gtk_main_quit'
xstuff.c: Hors de toute fonction :
xstuff.c:63: error: erreur de syntaxe before
"GdkPixmap"
xstuff.c:63: attention : pas de point virgule à la fin
de la structure ou de l'union
xstuff.c:64: attention : type defaults to `int' in
declaration of `mask'
xstuff.c:64: attention : data definition has no type
or storage class
xstuff.c:65: error: erreur de syntaxe before '}' token
xstuff.c:68: error: erreur de syntaxe before "p"
xstuff.c: Dans la fonction «
pixmap_and_mask_destroy_notify »:
xstuff.c:70: attention : implicit declaration of
function `gdk_pixmap_unref'
xstuff.c:70: error: `p' undeclared (first use in this
function)
xstuff.c:71: attention : implicit declaration of
function `gdk_bitmap_unref'
xstuff.c:72: attention : implicit declaration of
function `g_free'
xstuff.c: Hors de toute fonction :
xstuff.c:75: error: erreur de syntaxe before '*' token
xstuff.c:77: error: erreur de syntaxe before '*' token
xstuff.c:80: attention : return type defaults to `int'
xstuff.c: Dans la fonction « make_pixmap »:
xstuff.c:82: error: `gchar' undeclared (first use in
this function)
xstuff.c:82: error: erreur de syntaxe before "name"
xstuff.c:83: error: `GdkColormap' undeclared (first
use in this function)
xstuff.c:83: error: `colormap' undeclared (first use
in this function)
xstuff.c:85: attention : implicit declaration of
function `g_snprintf'
xstuff.c:85: error: `name' undeclared (first use in
this function)
xstuff.c:85: error: `xpm_data' undeclared (first use
in this function)
xstuff.c:86: attention : implicit declaration of
function `gtk_object_get_data'
xstuff.c:86: attention : implicit declaration of
function `GTK_OBJECT'
xstuff.c:86: error: `widget' undeclared (first use in
this function)
xstuff.c:86: attention : affectation transforme un
entier en pointeur sans transtypage
xstuff.c:88: attention : implicit declaration of
function `g_malloc'
xstuff.c:88: error: dereferencing pointer to
incomplete type
xstuff.c:88: attention : affectation transforme un
entier en pointeur sans transtypage
xstuff.c:89: attention : implicit declaration of
function `gtk_widget_get_colormap'
xstuff.c:90: error: dereferencing pointer to
incomplete type
xstuff.c:91: attention : implicit declaration of
function `gdk_pixmap_colormap_create_from_xpm_d'
xstuff.c:92: error: dereferencing pointer to
incomplete type
xstuff.c:92: error: `transparent' undeclared (first
use in this function)
xstuff.c:92: error: erreur de syntaxe before ')' token
xstuff.c:94: attention : implicit declaration of
function `gtk_object_set_data_full'
xstuff.c:96: attention : implicit declaration of
function `gtk_pixmap_new'
xstuff.c:96: error: dereferencing pointer to
incomplete type
xstuff.c:96: error: dereferencing pointer to
incomplete type
xstuff.c:96: attention : return transforme un entier
en pointeur sans transtypage
make[1]: *** [xstuff.o] Erreur 1
make[1]: quittant le répertoire «
/usr/local/nessus/nessus-core/nessus »

==========================
I would like to understand where is the problem and
how to resolv it. Can you help me, please ? 
I download nessus 2.2.5 and my os is Ubuntu 5.04.

PS: I installed all librairies that you list in your
email for each installation. 
=================================================

Thank you.



--- Javier Fernandez-Sanguino
<jfernandez@germinus.com> a écrit :

Discini, Sonny wrote:
In UBUNTU, select SYSTEM>ADMINISTRATION>SYNAPTIC
PACKAGE MANAGER

Search for gtk+-devel
Select it
Apply it
Done

In Ubuntu (or Debian for that matter) in order to
have Nessus you have 
multiple options.

1) Build Nessus from source with the install script,
you will need to 
have the following development pacakges installed:


- For nessus-libraries:  libz-dev, libpcap0.8-dev |
libpcap-dev, flex, 
bison, libssl-dev

- For libnasl: libgmp3-dev, libz-dev, libssl-dev,
bison

- For nessus-core:  xlibs-dev, libgmp3-dev,
libz-dev, libpcap0.8-dev | 
libpcap-dev, libglib1.2-dev, libglib2.0-dev,
libgtk2.0-dev, 
libgd-gif1-dev, libwrap-dev, libssl-dev

- For nessus-plugins:  libgmp3-dev, libz-dev,
libpcap0.8-dev | 
libpcap-dev, nmap, libnet1-dev

2) _Or_ you can use the Ubuntu packages for Nessus
(based on the 
Debian packages, they are just recompiled). For
example: 
http://packages.ubuntu.com/hoary/admin/nessus
(that's the client)
It seems that only 2.2.3 packages are available (for
hoary)

3) _Or_ you can point to the Debian sid package
archive and download 
the latest binary packages (2.2.5). I'm not sure if
there might be 
incompatibilities between sid and the version of
Ubuntu you are using.

3) _Or_ you can take the _source_ packages from
Debian sid package 
archive and build them in an Ubuntu system (with
dpkg-buildpackage) 
which should mostly work ok.

3) might be a better option when building from
source than 1) since it 
might be easier for the system you are running. But
you have to know 
how to build Debian packages (pointer: 'apt-get
source -b XXXX', or 
download the source packages and run 'dpkg-source -X
xxxxx.dsc ; cd 
xxxxx-yyy ; dpkg-buildpackage -rfakeroot')

2) will get you an out of date Nessus version which
might work, there 
are known bugs in 2.2.3 which might lead to issues
when downloading a 
registered plugin feed.

3) will get you an updated Nessus version which
should work, but might 
introduce incompatibilities in your system since you
are mixing stuff 
from two different (but almost compatible) OSes:
Ubuntu and Debian.

Lot of choices from where to chose from :-)

Regards

Javier

PS: For more information on Ubuntu and its
relationship to Debian see 

http://www.ubuntulinux.org/ubuntu/relationship/document_view






        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>