You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mikhail Sobolev <mi...@transas.com> on 2001/10/18 14:05:54 UTC

Compiling Error

While trying to compile the trunk version of subversion I got the
following:

    cd subversion/clients/cmdline && /bin/sh /var/home/mss/projects/svn/trunk/libtool --silent --mode=link  gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -DNEON_ZLIB -I./subversion/include -I. -I./apr/include -I./neon/src -I./expat-lite   -rpath /usr/lib -o svn  status-cmd.o trace-commit.o main.o feedback.o trace-update.o proplist-cmd.o import-cmd.o diff.o delete-cmd.o propset-cmd.o help-cmd.o commit-cmd.o add-cmd.o cleanup-cmd.o status.o update-cmd.o propget-cmd.o prompt.o util.o copy-cmd.o diff-cmd.o revert-cmd.o checkout-cmd.o propdel-cmd.o props.o ../../../subversion/libsvn_client/libsvn_client.la ../../../subversion/libsvn_wc/libsvn_wc.la ../../../subversion/libsvn_ra/libsvn_ra.la ../../../subversion/libsvn_delta/libsvn_delta.la ../../../subversion/libsvn_subr/libsvn_subr.la /var/home/mss/projects/svn/trunk/apr/libapr.la  ../../../expat-lite/libexpat.la -lm -lcrypt -lnsl  -ldl
    libtool: link: cannot find the library `'

How this can be fixed?

Just a bit of info, Linux 2.2.19, libc6 2.2.4.  And I succeeded in
building subversion from the sources available from web (204?).

Thanks,

--
Misha

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Compiling Error

Posted by Mikhail Sobolev <mi...@transas.com>.
OK.  The final message in the thread.  It looks like the problem lies in
libtool version that came with m3-202 file.  When I got rid of the
pre-packaged libtool and made use of the one installed on my system
(1.4.1) everything seems to be ok.

Thanks,

--
Misha

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Compiling Error

Posted by Mikhail Sobolev <mi...@transas.com>.
Well, I do not quite understand why it works this way. ;(  But it now
compiles.  Here is what I did:

    downloaded the latest M3 from web
    downloaded db 3.3.11 from sleepycat
    downloaded neon 0.17.1 from webdav/neon
    unpacked svn sources
    cd subversion-r202
    unpacked db-3.3.11.tar.gz
    mv db{-3.3.11,}
    ./configure --prefix=/usr --mandir=/usr/share/man
    make
    sudo make install
    cd ~/projects
    svn co http://svn.collab.net/repos/svn/trunk -d svn
    cd svn
    unpacked neon-0.17.1.tar.gz
    mv neon{-0.17.1,}
    mv ../subversion-r202/apr .
    mv ../subversion-r202/db .
    ./configure --prefix=/usr --mandir=/usr/share/man
    make
    *got that error*
    vim apr/libapr.la
    changed
            dependancy_libs=" -pthread"
        to
            dependancy_libs=" -lpthread"
    make
    sudo make install

--
Misha

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Compiling Error

Posted by Mikhail Sobolev <mi...@transas.com>.
On Thu, Oct 18, 2001 at 03:27:30PM +0100, Mikhail Sobolev wrote:
> On Thu, Oct 18, 2001 at 09:18:41AM -0500, Ben Collins-Sussman wrote:
> > What were your switches to ./configure?
> ./configure --prefix=/usr --mandir=/usr/share/man

I do not know if it helps, the output of make where LTFLAGS=--debug is
available as

    http://crunchy.transas.com/~mss/error.txt

--
Misha

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Compiling Error

Posted by Mikhail Sobolev <mi...@transas.com>.
On Thu, Oct 18, 2001 at 09:18:41AM -0500, Ben Collins-Sussman wrote:
> What were your switches to ./configure?
./configure --prefix=/usr --mandir=/usr/share/man

--
Misha

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Compiling Error

Posted by Ben Collins-Sussman <su...@collab.net>.
What were your switches to ./configure?



Mikhail Sobolev <mi...@transas.com> writes:

> While trying to compile the trunk version of subversion I got the
> following:
> 
>     cd subversion/clients/cmdline && /bin/sh /var/home/mss/projects/svn/trunk/libtool --silent --mode=link  gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -DNEON_ZLIB -I./subversion/include -I. -I./apr/include -I./neon/src -I./expat-lite   -rpath /usr/lib -o svn  status-cmd.o trace-commit.o main.o feedback.o trace-update.o proplist-cmd.o import-cmd.o diff.o delete-cmd.o propset-cmd.o help-cmd.o commit-cmd.o add-cmd.o cleanup-cmd.o status.o update-cmd.o propget-cmd.o prompt.o util.o copy-cmd.o diff-cmd.o revert-cmd.o checkout-cmd.o propdel-cmd.o props.o ../../../subversion/libsvn_client/libsvn_client.la ../../../subversion/libsvn_wc/libsvn_wc.la ../../../subversion/libsvn_ra/libsvn_ra.la ../../../subversion/libsvn_delta/libsvn_delta.la ../../../subversion/libsvn_subr/libsvn_subr.la /var/home/mss/projects/svn/trunk/apr/libapr.la  ../../../expat-lite/libexpat.la -lm -lcrypt -lnsl  -ldl
>     libtool: link: cannot find the library `'
> 
> How this can be fixed?
> 
> Just a bit of info, Linux 2.2.19, libc6 2.2.4.  And I succeeded in
> building subversion from the sources available from web (204?).
> 
> Thanks,
> 
> --
> Misha
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org