Re: FreeBSD Port: net-mgmt/net-snmp

2010-05-12 Thread Sahil Tandon
On Wed, 12 May 2010, Mike Jakubik wrote:

> I am having trouble compiling net-snmp on a number of 8-STABLE
> systems, below is the error.

Are you using any non-default OPTIONS?

> ./.libs/libnetsnmpmibs.so: undefined reference to `exp'

I wonder if this is a quirk with how link time arguments are passed to
ld(1) via the configure script.  Would you try compiling after applying
the attached patch?

-- 
Sahil Tandon 
Index: Makefile
===
RCS file: /home/pcvs/ports/net-mgmt/net-snmp/Makefile,v
retrieving revision 1.178
diff -u -r1.178 Makefile
--- Makefile1 May 2010 01:38:47 -   1.178
+++ Makefile13 May 2010 04:36:50 -
@@ -40,7 +40,7 @@
--with-sys-location="${NET_SNMP_SYS_LOCATION}" \
--with-logfile="${NET_SNMP_LOGFILE}" \
--with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \
-   --with-gnu-ld --with-libwrap --with-libs="-lm -lkvm -ldevstat"
+   --with-gnu-ld --with-libwrap --with-ldflags="-lm -lkvm 
-ldevstat"
 
 .if defined(BATCH)
 CONFIGURE_ARGS+=--with-defaults
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

gamin causing failure in freebsd ports. [INFO] gobject-introspection-0.6.5: Segmentation fault: 11 (core dumped)

2010-05-12 Thread Mick Russom
[INFO] gobject-introspection-0.6.5: gmake[2]: ***  Segmentation fault: 11 (core 
dumped)

and

/usr/include/machine/endian.h:107: syntax error, unexpected '{' in '   return 
(__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap   %0" : "+r" 
(__X)); __X; }));' at '{' 

and

hanging "glib-2.0", hanging g-ir-scanner, etc. 


Removing GAMIN allows gobject-introspection to build. 

This problem has been bothering me for some time and I filed a bug but my 
system was blamed and "tinderbox works for me" stuff. 

Lots of people cant built gobject-introspection its easy to see on google.
 
Anyway, gamin is causing this and things like g-ir-scanner to fail on a number 
of systems and removing gamin allowed things to start working again. 

 
reference below. 

http://groups.google.com/group/mailing.freebsd.ports/browse_thread/thread/7a82aab09d3c66ba/0216cfcffb65b81a?lnk=raot

Newsgroups: mailing.freebsd.ports
From: g...@lynge.org (Gert Lynge)
Date: Tue, 27 Apr 2010 16:29:37 +0200
Local: Tues, Apr 27 2010 7:29 am 
Subject: Make of devel/gobject-introspection prevented by devel/gamin
Reply | Reply to author | Forward | Print | Individual message | Show original 
| Report this message | Find messages by this author 
Hi list 

This one has been annoing me for a while. I have not been able to   
google a solution, but it seems several people are having this   
problem, so I would like to share my findings. 

Both on FreeBSD 7.2, 7.3 and 8.0 I have experienced problems making   
devel/gobject-introspection. It simply freezes after outputting: 
--- 
libtool: link: (cd ".libs" && rm -f   
"libgirepository-everything-1.0.so" && ln -s   
"libgirepository-everything-1.0.so.1"   
"libgirepository-everything-1.0.so") 
libtool: link: (cd ".libs" && rm -f   
"libgirepository-everything-1.0.so" && ln -s   
"libgirepository-everything-1.0.so.1"   
"libgirepository-everything-1.0.so") 
libtool: link: ar cru .libs/libgirepository-everything-1.0.a   
libgirepository_everything_1_0_la-everything.o 
libtool: link: ranlib .libs/libgirepository-everything-1.0.a 
libtool: link: ( cd ".libs" && rm -f   
"libgirepository-everything-1.0.la" && ln -s   
"../libgirepository-everything-1.0.la"   
"libgirepository-everything-1.0.la" ) 
env LPATH=.libs  env PYTHONPATH=..:..:YTHONPATH   
UNINSTALLED_INTROSPECTION_SRCDIR=..   
UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v   
--add-include-path=../gir --add-include-path=. -v   
--add-include-path=../gir --add-include-path=. --namespace=GLib   
--nsversion=2.0 --libtool="/bin/sh /usr/local/bin/libtool"   
--library=glib-2.0 --pkg=glib-2.0  --noclosure --strip-prefix=g   
--c-include="glib.h" -I/usr/local/include   
-I/usr/local/include/glib-2.0 -DGETTEXT_PACKAGE=Dummy   
-D__G_I18N_LIB_H__ /usr/local/include/glib-2.0/glibconfig.h   
/usr/local/include/glib-2.0/glib/*.h ./glib-2.0.c --output GLib-2.0.gir 
In file included from :23: 
/usr/local/include/glib-2.0/glib/ghostutils.h:21:2: error: #error   
"Only  can be included directly." 
/usr/include/machine/endian.h:107: syntax error, unexpected '{' in '   
return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap   
%0" : "+r" (__X)); __X; }));' at '{' 
/usr/include/machine/endian.h:107: syntax error, unexpected ';' in '   
return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap   
%0" : "+r" (__X)); __X; }));' at ';' 
--- 

Finaly I setup a cloned system in a Sun Virtual Box and made a script   
which removes my 250 ports one by one while trying to portupgrade   
devel/gobject-introspection. A separate script killed the process   
named "[GLib-2.0]" (which seems to be the process hanging the make) a   
couple of seconds after it was found. 
The script was run on: 
bsd# uname -a 
FreeBSD bsd.xxx 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan   
5 16:02:27 UTC 2010       
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386 

My findings is that if devel/gamin is installed, a make of   
devel/gobject-introspection will hang. If I deinstall devel/gamin   
first, I'm able to make devel/gobject-introspection without any   
problems. But as soon as I install devel/gamin again a make in   
devel/gobject-introspection will hang. 

I hope this will help others having this problem. 
Please let me know if anyone is interested in looking into fixing the   
problem and I can provide more info. (I've been using FreeBSD for   
several years but are not familiar with debugging or bug-reporting :-)). 

Regards 
     Gert Lynge 



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: net-mgmt/net-snmp

2010-05-12 Thread Boris Kochergin

Garrett Cooper wrote:

On May 12, 2010, at 4:56 PM, Mike Jakubik wrote:

  

Hi,

I am having trouble compiling net-snmp on a number of 8-STABLE systems, below 
is the error.

Thanks.

---
creating libnetsnmpmibs.la
(cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la 
libnetsnmpmibs.la)
: libnetsnmpmibs.la
/bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent 
-I../agent/mibgroup  -I../snmplib -I/usr/include -O2 -pipe -march=nocona 
-fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c -o snmpd.lo snmpd.c
cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include 
-O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c 
snmpd.c  -fPIC -DPIC -o .libs/snmpd.o
cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe 
-march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -o snmpd.o 
>/dev/null 2>&1
/bin/sh ../libtool --mode=link cc -O2 -pipe -march=nocona -fno-strict-aliasing 
-Ufreebsd8 -Dfreebsd8=freebsd8 -o snmpd snmpd.lo -L../snmplib/.libs 
-L../snmplib -L./.libs -L./helpers/.libs -L./helpers -L/usr/lib  
-rpath=/usr/lib:/usr/local/lib libnetsnmpagent.la helpers/libnetsnmphelpers.la 
libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf -lssp_nonshared
cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 
-o .libs/snmpd .libs/snmpd.o -rpath=/usr/lib:/usr/local/lib  
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers -L/usr/lib 
./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so 
./.libs/libnetsnmpmibs.so 
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so
 
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so
 -lwrap -lkvm 
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so 
-ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lssp_nonshared   
-Wl,--rpath -Wl,/usr/local/lib
./.libs/libnetsnmpmibs.so: undefined reference to `exp'
*** Error code 1



It looks like -lm is missing in the linker line -- do you have the config.log?
Thanks,
-Garrett___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
  
I don't have the autotools chops to submit a proper fix, but here are 
instructions to at least get it to finish building:


http://lists.freebsd.org/pipermail/freebsd-ports/2010-May/061065.html

-Boris

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Best approach to add FreeImage C++ development files?

2010-05-12 Thread Mihai Militaru
Hey,

Currently, the FreeImage port doesn't build/install the C++ header and
libraries. It is possible to build them using the top-level makefile
named Makefile.fip, which builds both the C and C++ development files.

The question is, is it allowed to modify the 'freeimage' port so that it
builds both libraries or is it mandatory to make a separate build for
FIP by modifying the makefile in such way to use the existing
libs/header in the other port, instead of rebuilding?

I'm talking about doing and submitting it to the collection.

Cheers,
Mihai

-- 
Mihai Militaru 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: KDE 4.4 problems

2010-05-12 Thread Adam K Kirchhoff
On Thu, 13 May 2010 02:23:28 +0400
Max Brazhnikov  wrote:

> On Wed, 12 May 2010 17:42:58 -0400, Adam K Kirchhoff wrote:
> > 
> > So when I attempted to upgrade KDE4.3 to KDE4.4 via ports (following
> > the instructions in /usr/ports/UPDATING) it failed in x11/kdelibs4 with:
> > 
> > gmake[2]: Leaving directory 
> `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
> > /usr/local/bin/cmake -E cmake_progress_report 
> /usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/CMakeFiles  48 49 50 51 52
> > [ 48%] Built target kio
> > gmake[1]: Leaving directory 
> `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
> > gmake: *** [all] Error 2
> > *** Error code 1
> > 
> > Stop in /usr/ports/x11/kdelibs4.
> 
> Build kdelibs with DISABLE_MAKE_JOBS and with CMAKE_VERBOSE
> (make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE) and show us actual error message.
> 
> Max

Thanks, this is what I'm getting now:

[ 20%] Building CXX object
nepomuk/core/CMakeFiles/nepomuk.dir/resourcedata.o
cd /usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/nepomuk/core
&& /usr/bin/c++   -DMAKE_NEPOMUK_LIB -D_GNU_SOURCE -DQT_NO_STL
-DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
-DKDE_DEFAULT_DEBUG_AREA=30 -O2 -pipe -fno-strict-aliasing
-Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden
-O2 -DNDEBUG -DQT_NO_DEBUG -fPIC
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/nepomuk/core
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/nepomuk/core
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/interfaces
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/nepomuk
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/KDE
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kio
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kio/bookmarks
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kio/kio
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kio/kfile
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/actions
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/colors
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/config
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/dialogs
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/findreplace
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/fonts
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/icons
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/itemviews
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/jobs
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/kernel
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/notifications
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/paged
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/plotting
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/shortcuts
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/sonnet
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/util
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/widgets
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/windowmanagement
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdeui/xmlgui
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kjs
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/kjs
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/kdecore
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/compression
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/config
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/date
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/io
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/jobs
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/kernel
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/auth
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/network
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/services
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/localization
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/sycoca
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/text
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/util
-I/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/kdecore/sonnet
-I/usr/local/include/QtCrypto -I/utils -I/usr/local/include/qt4/KDE
-I/usr/local/include/qt4 -I/usr/local/include/qt4/phonon
-I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml
-I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools
-I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg
-I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools
-I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL
-I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtHelp
-I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDBus
-I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui
-I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt
-I/usr/local/share/qt4/mkspecs/default -I/usr/local/include   -o
CMakeFiles/nepomuk.dir/resourcedata.o
-c /usr/ports/x

Re: KDE 4.4 problems

2010-05-12 Thread Max Brazhnikov
On Wed, 12 May 2010 17:42:58 -0400, Adam K Kirchhoff wrote:
> 
> So when I attempted to upgrade KDE4.3 to KDE4.4 via ports (following
> the instructions in /usr/ports/UPDATING) it failed in x11/kdelibs4 with:
> 
> gmake[2]: Leaving directory 
`/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
> /usr/local/bin/cmake -E cmake_progress_report 
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/CMakeFiles  48 49 50 51 52
> [ 48%] Built target kio
> gmake[1]: Leaving directory 
`/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs4.

Build kdelibs with DISABLE_MAKE_JOBS and with CMAKE_VERBOSE
(make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE) and show us actual error message.

Max


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


KDE 4.4 problems

2010-05-12 Thread Adam K Kirchhoff

So when I attempted to upgrade KDE4.3 to KDE4.4 via ports (following
the instructions in /usr/ports/UPDATING) it failed in x11/kdelibs4 with:

gmake[2]: Leaving directory `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
/usr/local/bin/cmake -E cmake_progress_report 
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/CMakeFiles  48 49 50 51 52
[ 48%] Built target kio
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.

There is, as far as I can tell, no error before that.  Just '[all] Error 2'

I then removed all KDE4 and phonon packages and, after confirming that nothing 
in /usr/local/kde4 was claimed by any package, I removed that directory.  I 
started with x11/kdebase4.  That first failed beacuse it tried to build 
multimedia/phonon-gstreamer before installing multimedia/phonon.  I fixd that 
and continued, but it then died with:

/bin/ln -sf /usr/local/libdata/pkgconfig /usr/local/kde4/libdata/
ln: /usr/local/kde4/libdata//pkgconfig: Operation not permitted

/usr/local/kde4/libdata/pkgconfig already existed, was not a symlink, and 
contained phonon.pc.  I moved phonon.pc to /usr/local/libdata/pkgconfig, 
removed /usr/local/kde4/libdata/pkgconfig/ and then tried 'make install' again. 
 This time it created the symlink and installed kdehier4.  The build of 
x11/kdebase4 continued, but then died at the same place as before in 
x11/kdelibs4:

[ 48%] Built target kio
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
gmake: *** [all] Error 2
*** Error code 1

Any ideas?

Ada,
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: net-mgmt/net-snmp

2010-05-12 Thread Garrett Cooper
On May 12, 2010, at 4:56 PM, Mike Jakubik wrote:

> Hi,
> 
> I am having trouble compiling net-snmp on a number of 8-STABLE systems, below 
> is the error.
> 
> Thanks.
> 
> ---
> creating libnetsnmpmibs.la
> (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la 
> libnetsnmpmibs.la)
> : libnetsnmpmibs.la
> /bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent 
> -I../agent/mibgroup  -I../snmplib -I/usr/include -O2 -pipe -march=nocona 
> -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c -o snmpd.lo snmpd.c
> cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib 
> -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 
> -Dfreebsd8=freebsd8 -c snmpd.c  -fPIC -DPIC -o .libs/snmpd.o
> cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib 
> -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 
> -Dfreebsd8=freebsd8 -c snmpd.c -o snmpd.o >/dev/null 2>&1
> /bin/sh ../libtool --mode=link cc -O2 -pipe -march=nocona 
> -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o snmpd snmpd.lo 
> -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers 
> -L/usr/lib  -rpath=/usr/lib:/usr/local/lib libnetsnmpagent.la 
> helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf 
> -lssp_nonshared
> cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 
> -Dfreebsd8=freebsd8 -o .libs/snmpd .libs/snmpd.o 
> -rpath=/usr/lib:/usr/local/lib  
> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs 
> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs 
> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs 
> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib 
> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers -L/usr/lib 
> ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so 
> ./.libs/libnetsnmpmibs.so 
> /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so
>  
> /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so
>  -lwrap -lkvm 
> /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so
>  -ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lssp_nonshared   
> -Wl,--rpath -Wl,/usr/local/lib
> ./.libs/libnetsnmpmibs.so: undefined reference to `exp'
> *** Error code 1

It looks like -lm is missing in the linker line -- do you have the config.log?
Thanks,
-Garrett___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


FreeBSD Port: net-mgmt/net-snmp

2010-05-12 Thread Mike Jakubik

Hi,

I am having trouble compiling net-snmp on a number of 8-STABLE systems, 
below is the error.


Thanks.

---
creating libnetsnmpmibs.la
(cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la 
libnetsnmpmibs.la)

: libnetsnmpmibs.la
/bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent 
-I../agent/mibgroup  -I../snmplib -I/usr/include -O2 -pipe -march=nocona 
-fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c -o snmpd.lo snmpd.c
 cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib 
-I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 
-Dfreebsd8=freebsd8 -c snmpd.c  -fPIC -DPIC -o .libs/snmpd.o
 cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib 
-I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 
-Dfreebsd8=freebsd8 -c snmpd.c -o snmpd.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link cc -O2 -pipe -march=nocona 
-fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o snmpd snmpd.lo 
-L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers 
-L/usr/lib  -rpath=/usr/lib:/usr/local/lib libnetsnmpagent.la 
helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la 
-lelf -lssp_nonshared
cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 
-Dfreebsd8=freebsd8 -o .libs/snmpd .libs/snmpd.o 
-rpath=/usr/lib:/usr/local/lib  
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers 
-L/usr/lib ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so 
./.libs/libnetsnmpmibs.so 
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so 
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so 
-lwrap -lkvm 
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so 
-ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf 
-lssp_nonshared   -Wl,--rpath -Wl,/usr/local/lib

./.libs/libnetsnmpmibs.so: undefined reference to `exp'
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent.
*** Error code 1

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: x11-wm/obconf segfaults

2010-05-12 Thread David DEMELIER
2010/5/12 Yuri Pankov :
> On Wed, May 12, 2010 at 04:21:35PM +0200, Demelier David wrote:
>> Hi freebsd-ports@,
>>
>>    Today I wanted to try x11-wm/openbox and its configuration manager called
>>    obconf found in x11-wm/obconf. I started it and it just segfaults :
>>
>>    (obconf:30154): Gtk-WARNING **: GtkSpinButton: setting an adjustment with 
>> non-zero page size is deprecated
>>    (no debugging symbols found)...
>>    Program received signal SIGSEGV, Segmentation fault.
>>    [Switching to Thread 804e041c0 (LWP 100235)]
>>    0x000800f4ee75 in g_object_type_init () from 
>> /usr/X11R6/lib/libgobject-2.0.so.0
>>
>>    King regards.
>>
>> --
>> Demelier David
>
> Check ports/146523 for a (possible) fix.
>

The patch worked for me, if it works we can commit it?


-- 
Demelier David
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: x11-wm/obconf segfaults

2010-05-12 Thread Yuri Pankov
On Wed, May 12, 2010 at 04:21:35PM +0200, Demelier David wrote:
> Hi freebsd-ports@,
> 
>Today I wanted to try x11-wm/openbox and its configuration manager called
>obconf found in x11-wm/obconf. I started it and it just segfaults :
> 
>(obconf:30154): Gtk-WARNING **: GtkSpinButton: setting an adjustment with 
> non-zero page size is deprecated
>(no debugging symbols found)...
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 804e041c0 (LWP 100235)]
>0x000800f4ee75 in g_object_type_init () from 
> /usr/X11R6/lib/libgobject-2.0.so.0
> 
>King regards.
> 
> -- 
> Demelier David

Check ports/146523 for a (possible) fix.


Yuri
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


x11-wm/obconf segfaults

2010-05-12 Thread Demelier David
Hi freebsd-ports@,

   Today I wanted to try x11-wm/openbox and its configuration manager called
   obconf found in x11-wm/obconf. I started it and it just segfaults :

   (obconf:30154): Gtk-WARNING **: GtkSpinButton: setting an adjustment with 
non-zero page size is deprecated
   (no debugging symbols found)...
   Program received signal SIGSEGV, Segmentation fault.
   [Switching to Thread 804e041c0 (LWP 100235)]
   0x000800f4ee75 in g_object_type_init () from 
/usr/X11R6/lib/libgobject-2.0.so.0

   King regards.

-- 
Demelier David
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"