>>>>  /usr/bin/strip: /tmp/net-snmp-root/usr/lib/st9lY1VY/DynaLoader.a:
>>>>  Invalid operation
>>>>         
>
> I'm getting something similar:
>    /usr/bin/strip: Unable to recognise the format of the input file
>        `/tmp/net-snmp-root/usr/lib/libnetsnmptrapd.a(DynaLoader.a)'
>
> But the build process keeps going anyway.
> What O/S, distribution, etc  are you working with?
>   
this is rhel4.5
>>>>  error: File not found by glob:
>>>>      /tmp/net-snmp-root/usr/share/man/man3/*::*
>>>>  error: File not found by glob:
>>>>     /tmp/net-snmp-root/usr/share/man/man3/SNMP*
>>>>         
>
>   
>>  man3 does exist but doen't contain anything that matches *::*
>>     
>
> Checking the normal RPM build, the configure command
> that is invoked includes:
>
>   '--with-perl-modules=PREFIX=/tmp/net-snmp-root/usr INSTALLDIRS=vendor'
>
> If you've manually tweaked the configure command to simply
> use '--with-perl-module', then it won't be installing the perl
> man pages into the location that rpmbuild expects.
>
> I think this is probably a red herring, and you're better off
> letting the spec file supply the configure invocation.
>
>
>
> As far as your original problem is concerned - have a look at
> the script /usr/lib/rpm/redhat/brp-strip-static-archive
>
> It may be that you can workaround this problem by setting
> the environmental variable STRIP  - something like
>
>      export STRIP=true
>      rpmbuild ......
>   
I tried this and now it's failing the same way I described above in not 
being able to find the man pages - the directory IS there as are some 
man pages, but non containing '::' in their names or starting with SNMP
> (Or failing that,
> edit the brp-strip-static-archive script to add
>           exit 0;
>                        to the beginning of it!)
>   
I guess I don't have to try this since it's not failing on that any more...
-mark
> Dave
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to