makeg install wont work for ports

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

makeg install wont work for ports

Sebastian Rother
"makeg install" wont work for ports but is still accapted as valid command during the installation.

cd /usr/ports/net/nmap
makeg install

gdb nmap
(gdb) run -P0 -sV -T5 -b [hidden email] 141.20.15.92
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /usr/local/bin/nmap -P0 -sV -T5 -b [hidden email] 141.20.15.92
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Assuming anonymous is a username, and using the default password: -wwwuser@

Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-11-13 06:01 CET
Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-11-13 06:01 CET

Program received signal SIGSEGV, Segmentation fault.
0x000000000042bfe6 in ?? ()
(gdb)


You see, no debug-informations even the Portsystem accapted makeg install.


Kind regards,
Sebastian

Reply | Threaded
Open this post in threaded view
|

Re: makeg install wont work for ports

Matthieu Herrb
Sebastian Rother wrote:
> "makeg install" wont work for ports but is still accapted as valid command during the installation.
>

makeg is one component of X. It's only supposed to work with imake-base
build systems. And even there, it only changes the flags passed to the C
compiler, not to install.

In the ports tree use 'env COPTS=-g make' instead. But again, it doesn't
modify the flags used by make install. If the port defaults to stripping
the installed binaries, you'll have to install them manually to keep
debugging symbols.
--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: makeg install wont work for ports

Nikolay Sturm-3
* Matthieu Herrb [2005-11-13]:
> In the ports tree use 'env COPTS=-g make' instead. But again, it

We actually prefer DEBUG=-g, that way many ports do not strip their
binaries at install time.

Nikolay