Subject: Re: pkg/31918
To: None <rillig@netbsd.org, solaris-pkg-people@netbsd.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 11/17/2005 18:05:28
> From: rillig@netbsd.org
>
> Synopsis: net/ntop break /dev/null on Solaris10 x86 gcc
>
> Responsible-Changed-From-To: solaris-pkg-people->rillig
> Responsible-Changed-By: rillig@netbsd.org
> Responsible-Changed-When: Thu, 17 Nov 2005 14:30:19 +0000
> Responsible-Changed-Why:
>
> I'll take it.
>
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rillig@netbsd.org
> State-Changed-When: Thu, 17 Nov 2005 14:30:19 +0000
> State-Changed-Why:
>
> Please run the pkgsrc phases one after another. That is:
>
> bmake clean
> bmake fetch
> ls -l /dev/null
> bmake extract
> ls -l /dev/null
> bmake patch
> ls -l /dev/null
> bmake wrapper
> ls -l /dev/null
> bmake configure
> ls -l /dev/null
The problem is here:
bmake configure
[root@queen 506] ls -l /dev/null
-rw-rw-r-- 1 root root 0 Nov 17 17:59 /dev/null
and i got this message :
============================================================================
Now, let's check for problems with what we've found...
Testing Required libraries and headers**
checking for required C headers... ok
checking for crypt... ok
checking for dynamic load module... ok
-------------------------------------------------------------------
**Testing Optional libraries and headers**
checking for Multithreading... ok
checking for openSSL... ok
checking for zlib... ok
checking sctp... no
checking for xmldump... configure: WARNING: error
*******************************************************************
*
* WARNING: One or more items required for the xmldump plugin are
* missing:
*
* libxml2.so or libxml2.a...yes
* gdome.h...no
* libgdome.so or libgdome.a...yes
* glib.h...no
* libglib.so or libglib.a...yes
* glibconfig.h...no
*
* (yes means it was found, no means it was not found)
*
* ntop will run just fine without this plugin.
*
*>>> If you want to use the xmldump plugin,
*
*??? 1. Install the necessary headers and libraries.
*??? and rerun ./configure
*
*******************************************************************
checking pthread_atfork... yes
Miscelaneous settings...
checking for gcc backtrace... not found
checking for gcc getopt_long... found - long command line options are enabled
checking for facilitynames - define SYSLOG_NAMES option... unavailable
checking if ether_header uses ether_addr structs... yes
checking if in6_addr is defined for sFlowPlugin... yes
-------------------------------------------------------------------
Removing dups and misplaced entries from LIBS and INCS...
Testing for special final configuration options for SOLARIS 10
===================================================================
This is your ntop 3.2 configuration:
Host System Type : sparc-sun-solaris2
Preprocessor (cppflags) : -I/usr/pkg/include -I/usr/pkg/include/freetype2
-I/usr/include -DSOLARIS -I/usr/local/include -I/usr/pkg/include
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
-I/usr/include
Compiler (cflags) : gcc -g -O -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/local/include -g -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fPIC -DPIC
Defines : -DHAVE_CONFIG_H
Loader (ldflags) : -R/usr/pkg/lib -R/usr/lib/../sfw/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -lnsl -lsocket -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib
-L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib
-L/usr/lib
Include path : -I/usr/pkg/include -I/usr/include
System Libs : -lgdome -lxml2 -lglib -lposix4 -lpthread -lresolv
-lsocket -lxnet -lnsl -lm -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz
Locale : /usr/pkg/lib
External packages:
LBL pcap .h : /usr/pkg/include
LBL pcap library : /usr/pkg/lib
GNU gdbm .h : /usr/pkg/include
GNU gdbm library : /usr/pkg/lib
zlib .h : /usr/include
zlib library : /usr/lib
gd .h : /usr/pkg/include
gd library : /usr/pkg/lib
png .h : standard system headers
png library : standard system libraries
openSSL .h : /usr/pkg/include
openSSL library : /usr/pkg/lib
Install directories:
Default prefix: /usr/local
Install into: /usr/pkg (default or via --prefix request)
Data files are in /usr/pkg/share/ntop
Config files are in /usr/pkg/share/ntop/ntop
Run directory is /var/ntop
Plugin files are in /usr/pkg/lib/ntop/plugins
Database files are in /var/ntop
-------------------------------------------------------------------
Creating files...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating myrrd/Makefile
config.status: creating plugins/Makefile
config.status: creating config.h
config.status: executing depfiles commands
version.c...
===================================================================
*******************************************************************
*
* NOTE: ./configure is now complete!
*
* All of the obviously FATAL errors would cause you to
* abort before this point, so while you SHOULD scroll
* back and check for error/warning/note messages,
* you probably will not...
*
++
++ If you like ntop, please do not forget to support its
++ development. See SUPPORT_NTOP.txt for more information.
++
++ Thanks for supporting ntop!
++
*
* NEXT STEP(S):
*
*>>>> A WARNING message was generated - please review the
*>>>> output before continuing to make ntop!
*
* Building ntop requires GNU Make, so to build ntop, type
* 'make' (or on *BSD and Solaris systems, 'gmake')
*
*******************************************************************
[root@queen 506] ls -l /dev/null
-rw-rw-r-- 1 root root 0 Nov 17 17:59 /dev/null
[root@queen 507]
=================================================================
> bmake build
> ls -l /dev/null
>
>
>