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

Re: svn commit: r10039 - in trunk: . build/generator subversion/bindings/swig subversion/bindings/swig/perl/libsvn_swig_perl subversion/bindings/swig/perl/native

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2004-06-23 01:30:25 CEST

Ben Reser wrote:
> On Mon, Jun 21, 2004 at 03:17:31PM -0400, Russell Yanofsky wrote:
>> ...
>> Cannot chdir to ../libsvn_swig_perl/.libs: No such file or directory
>> at Makefile.PL line 45
>>
>> It needs to be rewritten to not depend on the apr config programs
>> which don't exist on windows.
>
> That's why it's generated by autoconf, so it doesn't directly depend
> upon the apr config programs. On Windows you can have the build
> generator replace the @FOO@ symbols into the proper values.
>
> To see if the build works, you can just do this by hand for now.

I filled in the values by hand and got a shorter version of the same error.

Cannot chdir to
M:/russ/source/svn/subversion/bindings/swig/perl/libsvn_swig_perl/.libs: No
such file or directory at Makefile.pl line 34

The error comes from calls to abs_path with a bunch of .libs paths which
don't exist on windows (because we don't use libtool there). Commenting out
the following lines took care of the problem well enough for the script to
be able to generate Makefiles:

    LIBS => [join(' ', $apr_ldflags,
                  (map {$_ = abs_path($_); "-L$_"} @ldpaths),
                  @ldmodules, '-lsvn_swig_perl-1',
                  `$swig -perl -ldflags`)],

But ATM, running nmake on those generated Makefiles just gives another
error:

  NMAKE : fatal error U1073: don't know how to make 'K:\Program'

because MakeMaker apparently doesn't handle paths with spaces. I'm going to
try installing perl in a path without a space to see if what will happen
then.

- Russ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 23 01:31:13 2004

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.