This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Buiding net-snmp perl in cygwin - Please anyone help me


Please start a new thread instead of replying to an unrelated message.
More below.

On Thu, 3 Mar 2005, Aparna R wrote:

> I Downloaded net-snmp-5.2.1.tar.gz and it got successfully installed on
> cygwin.
> Installed Modules: ActivePerl 5.8.6
>             Perl that comes with cygwin

This is unclear.  ActivePerl does not come with Cygwin.  Are you saying
you've installed both?  Are both in your PATH?
Please review and follow the Cygwin problem reporting guidelines at
<http://cygwin.com/problems.html> to provide the necessary information
about your installation.  The guidelines can also help you with the
phrasing of your question.

> When Net-SNMP Perl modules are installed in cygwin I am getting
> following error
>
> $make  (-- following error is thrown)
>
> collect2: ld returned 1 exit status
> perlld: *** system() failed to execute
> gcc -shared -o  agent.dll -Wl,--out-implib=libagent.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib agent.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -lcrypto -lm
>
> make[1]: *** [../blib/arch/auto/NetSNMP/agent/agent.dll] Error 1
> make[1]: Leaving directory `/cygdrive/c/net-snmp-5.2.1/perl/agent'
> make: *** [subdirs] Error 2

Is there a log available where the *exact* error could be seen?  If not,
try running the above command by hand from the given directory, and see
what it prints.

> Pls anyone help me on this. What could be the issue?

It could be any one of several issues: missing libraries, conflicting
Perl installations, rogue environment variables, a rebase issue,
conflicting compiler installations, a Makefile/configure error, etc.
Engaging in guesses without the exact system information is futile.

> I have gcc,make,win32api everything got installed along with cygwin. But I
> could not able to figure out the issue.

Please provide the information requested in the problem reporting
guidelines (the output of "cygcheck -svr" should be *attached* rather than
included inline).  That way, someone may be able to help you.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]