[cvsnt-dev] Solaris x86
Brian Hicks
bwhicks at aep.com
Wed Nov 29 14:27:24 GMT 2006
On Tue, 28 Nov 2006 17:28:54 -0500, David Somers <dsomers at omz13.com> wrote:
> Nobody here is a mindreader (or are they?), so do tell what the error is?
After disabling MDNS as below, the error is this:
/bin/bash ../libtool --mode=link g++ -g -O2 -L/usr/sfw/lib -lrt -o
libcvsapi.la -rpath /usr/local/lib -release -L//usr/local/lib Codepage.lo
cvs_string.lo DiffBase.lo StringDiff.lo GetOptions.lo md5calc.lo mdns.lo
rpcBase.lo ServerIO.lo SqlConnection.lo SqlRecordset.lo SqlVariant.lo
TagDate.lo TokenLine.lo XmlApi.lo Zeroconf.lo fncmp.lo fnmatch.lo
getdate.lo getmode.lo md5.lo timegm.lo DirectoryAccess.lo DnsApi.lo
FileAccess.lo HttpSocket.lo LibraryAccess.lo RunFile.lo SocketIO.lo
SSPIHandler.lo -lexpat ../libltdl/libltdlc.la -lnsl -lresolv -lsocket
libtool: link: `/usr/sfw/lib/libstdc++.la' is not a valid libtool archive
I notice a mdns.lo in there, and I'm guessing that's the problem. If I
disable mdns, why is a library for it still being linked? Then again,
maybe this error means something else. I'm not that great at C...
> Quick and dirty: don't bother with mDNS (unless you really really need to
> use it - I've had a lot of problems getting it to work and in the end I
> hacked xinetd to do the mDNS stuff rather than CVSNT - which means mDNS
> is
> available for all my xinetd run services)... ./configure --disable-mdns
> Try latest testing rather than latest commercial too...
Bah, there is a sparc package. It should work.
I think the main issue is the build environment. I'm trying to build using
the tools in /usr/sfw (although I tried the Sun Studio 11 compiler as
well, without success). Maybe some required libraries are missing? I've
disabled everything in the config that I won't need (hfs, postgresql,
mysql, etc.).
Under Linux, cvsnt builds without much effort. That's why I was asking
what the build environment is like for building the sparc package. Are
they using the stuff in /usr/sfw, or blastwave's tools, or
sunfreeware.org, or the Sun Studio? Something else?
The typical "./configure && make && make install" won't work on Solaris.
Brian
More information about the cvsnt-dev
mailing list