-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brendan Simon wrote:
> I notice that the perl modules are enabled by default for net-snmp, but
> python modules are not.
>
> How can I use fink to get it to build the python net-snmp modules ???
>
> Could the fink net-snmp maintainers please change the default config to
> build the python modules.  Pleeease!
> Or alternatively split the perl and python modules into different
> install packages, if that makes sense.
>
> BTW, I am getting errors compiling net-snmp-unitified with "fink -b -y
> install net-snmp-unified".
> Is net-snmp-unified known to compile using fink ?
> It's probably something wrong with my setup because I can't compile
> gnucash2 either.
>
> There errors are related to not being able to open dynamic libraries. 
> Here is the tail of the build messages.
>
>    
LD_RUN_PATH="/sw/lib:/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"
>     env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined
>     dynamic_lookup -L/usr/local/lib -L/sw/lib/system-openssl/lib
>     -L/sw/lib/system-openssl/lib -L/sw/lib TrapReceiver.o  -o
>     ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bundle 
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../apps/.libs
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../apps
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../agent/.libs
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../agent
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../agent/helpers/.libs
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../agent/helpers
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../snmplib/.libs
>    
-L/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../snmplib
>     -lnetsnmptrapd -lnetsnmpagent -lnetsnmp 
>     /usr/bin/ld: warning can't open dynamic library:
>     /sw/lib/libnetsnmpmibs.15.dylib referenced from:
>    
/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../apps/.libs/libnetsnmptrapd.dylib
>     (checking for undefined symbols may be affected) (No such file or
>     directory, errno = 2)
>     /usr/bin/ld: warning can't open dynamic library:
>     /sw/lib/libnetsnmphelpers.15.dylib referenced from:
>    
/sw/src/fink.build/net-snmp-unified-5.4.1-2/net-snmp-5.4.1/perl/TrapReceiver/../../apps/.libs/libnetsnmptrapd.dylib
>     (checking for undefined symbols may be affected) (No such file or
>     directory, errno = 2)
>     /usr/bin/ld: Undefined symbols:
>     _log_notification referenced from libnetsnmptrapd.15 expected to be
>     defined in /sw/lib/libnetsnmpmibs.15.dylib
>     collect2: ld returned 1 exit status
>     make[2]: ***
>     [../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bundle] Error 1
>     make[1]: *** [subdirs] Error 2
>     make: *** [perlmodules] Error 1
>     ### execution of /var/tmp/tmp.1.R6lZ9S failed, exit code 2
> Removing runtime build-lock...
>     Removing build-lock package...
>     /sw/bin/dpkg-lockwait -r fink-buildlock-net-snmp-unified-5.4.1-2
>     (Reading database ... 64426 files and directories currently installed.)
>     Removing fink-buildlock-net-snmp-unified-5.4.1-2 ...
>     Failed: phase compiling: net-snmp-unified-5.4.1-2 failed
>
>
net-snmp-unified works for me (10.4.11 PowerPC).

I see a "/usr/local" on your build line.  Do you have anything in
/usr/local that may be confusing things?

You probably should contact the maintainer directly about packaging
decisions.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHbR7eB8UpO3rKjQ8RAoH/AJ4jnn1KZLrWo15t72szHKNBrUdSHACfS92h
Jp8d73TuQ97CFYmmxXlOQ24=
=womy
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to