> Wes Hardaker wrote:
> 
>>>>>>>On Mon, 5 Dec 2005 08:01:10 -0500, Robert Story <[EMAIL PROTECTED]> said:
>>
>>
>>Robert> On Fri, 02 Dec 2005 01:10:24 +0100 Johannes wrote:
>>JSF> But I think that isn't your problem at the moment. I think you posted
>>JSF> the complete make output and not only some lines from the start and the
>>JSF> last lines. Could it be that you used the system's make program and not
>>JSF> GNU make? Due to the contents of most if not all makefiles compilation
>>JSF> of net-snmp is possible only when using GNU make.
>>
>>Robert> Hmmm... I thought we tried not to use GNU make specific
>>Robert> constructs. (At least I know Wes won't let me use the ones I
>>Robert> want to use.) Do you have specific examples?
>>
>>Yeah.  If GNU make constructs have wormed their in then Robert will be
>>mad at me and I need to remove them so he'll like me again.
>>
> 
> 
> I know from the past that at least HP's make didn't work when trying to
> build net-snmp. Starting make at the top level runs the following
> commands (after ./configure ... in a fresh source tree):
> 
> - /usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
> - cd snmplib
> - /bin/sh ../libtool --mode=link cc -g -Dhpux11 -rpath /usr/local/lib \
>   -version-info 6:1:1 -o libnetsnmp.la
> 
> I got this list in July 2005 from soneone who tried to build net-snmp
> (he didn't write me the version but I guess it can be derived from the
> version info passed to libtool) für HP-UX 11i. I answered him to use GNU
> make, and as far as I know that did work for him.
> 
> The problem with *some* make versions seem to be that they do not
> compile the sources in e.g. the snmplib directory but start immediately
> the dynamic library linking process which fails due to no object files.
> Maybe these make versions don't understand the dependencies between the
> shared library and the object files.
> 
> I agree with Thomas that GNU make is not needed in general but there
> seem to be some platforms where the standard make won't work as needed.
> 
> Johannes

Just having some time I checked which make will be called when using the
dist/nsb-package script (this script is often used for building the
binary tarballs that are available for download at the sf website).

The script nsb-package sources the nsb-functions script. In thas script
a function nsb-make() is defined that runs the actual make command.
Unless NSB_MAKE is set by the caller nsb-make() searches for GNU make
and it bails out if no GNU make is found.

Whoever wrote that script was keen upon running make only if it is GNU
make and stopping the build process otherwise. Whether this is still
necessary today I cannot say - but I'm rather sure from the past that it
has been necessary.

Johannes
-- 
Johannes Schmidt-Fischer

InterFace AG                 phone  +49 (0)89 / 610 49 - 207
Leipziger Str. 16            fax    +49 (0)89 / 610 49 - 85
D-82008 Unterhaching         mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com  mailto:[EMAIL PROTECTED]




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to