[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: busted 'make swig-py'...

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-02-28 19:57:45 CET

Matt Kraai <kraai@alumni.cmu.edu> writes:

> > $ make swig-py
> > /usr/local/bin/swig -c -python -noproxy -I/home/sussman/projects/svn2/subversion/bindings/swig -I/home/sussman/projects/svn2/subversion/include -I/usr/local/apache2/include -I/usr/local/include/python2.2 -o subversion/bindings/swig/python/svn_client.c
> > Must specify an input file. Use -help for available options.
> > *** Error code 1
> >
> > And here's what I discovered: if I now run 'gmake swig-py', everything
> > works. And then *afterwards*, plain old 'make swig-py' works for me!
> >
> > Anyone have any ideas? Wanna see my generated build files?
>
> Since it's dropping the last part of the command, could you be
> running into a maximum line length restriction?

No way. The build system runs commands like this all the time:

cd subversion/clients/cmdline && /usr/local/bin/bash /home/sussman/projects/svn2/libtool --silent --mode=link gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -L/usr/local/lib -rpath /usr/local/lib -o svn add-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o feedback.o help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolve-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la ../../../subversion/libsvn_auth/libs!
 vn_auth-1.la /usr/local/apache2/lib/libaprutil-0.la -lexpat /usr/local/apache2/lib/libapr-0.la -lm -lcrypt -L/usr/local/lib -lneon -lz -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm -L/usr/local/lib

I think Mike is right. BSD make doesn't know how to create a .c from
a .i file, but GNU make does.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 28 17:58:51 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.