| Hello,
According to the libtool manual page (snippet below) a minor
version number must be less than 256, so the version number
2.330 is invalid for darwin's tool.
-current_version number
For dynamic shared library files this
specifies the current version number of the library. The
program using the library can obtain the current version of
the library programmatically to determine exactly which
version of the library it is using. The format of number is
X[.Y[.Z]] where X must be a positive non-zero number
less than or equal to 65535, and .Y and .Z are optional
and if present must be non-negative numbers less than or
equal to 255. If this is not specified then it has a value
of 0.
I'm able to get past this by removing "-current_version
$minor_current.$revision" from ltmain.sh and libtool scripts.
Now the build is complaining that HTS_PLATFORM isn't defined.
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O -g3 -Wall
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wnested-externs
-D_REENTRANT -DINET6
-DPREFIX=\""/export/home/luedtket/httrack"\"
-DSYSCONFDIR=\""/export/home/luedtket/httrack/etc"\"
-DDATADIR=\""/export/home/luedtket/httrack/share"\"
-DLIBDIR=\""/export/home/luedtket/httrack/lib"\" -g -O2
-MT htsweb.o -MD -MP -MF ".deps/htsweb.Tpo" \
-c -o htsweb.o `test -f 'htsweb.c' || echo './'`htsweb.c; \
then mv ".deps/htsweb.Tpo" ".deps/htsweb.Po"; \
else rm -f ".deps/htsweb.Tpo"; exit 1; \
fi
htsweb.c: In function `main':
htsweb.c:174: error: `HTS_PLATFORM' undeclared (first use in
this function)
htsweb.c:174: error: (Each undeclared identifier is reported
only once
htsweb.c:174: error: for each function it appears in.)
/usr/include/ctype.h: At top level:
htsserver.h:110: warning: `StringAcquire' defined but not used
htsserver.h:118: warning: `StringStrcat' defined but not used
make[2]: *** [htsweb.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==
Terry Luedtke
National Libray of Medicine | |