"John Utz" <[EMAIL PROTECTED]> writes:

> i added the prints for debugging because i am too lame to use the
> debugger:
> 
> my $path;
> ($file,$path) = fileparse($file);
> 
> print "PATH:$path\n";
> 
> $path =~ s|^.*/include/||;
> 
> print "PATH:$path\n";
> 
> 
> bash-2.04$ make
> ./preSwig.pl --directory ./Xerces_headers
> /usr/local/include/xerces/framework/StdInInputSource.hpp
> PATH:/usr/local/include/xerces/framework/
> PATH:xerces/framework/
> Couldn't open ./Xerces_headers/xerces/framework//StdInInputSource.hpp for
> writing at ./preSwig.pl line 44.
> 
> 
> needs another s// step to get rid of the last slash methinks...

Actually the // isn't the problem. The problem is the 'xerces' in the
path. You're inadvertantly using Xerces-C from CVS which has the new
directory structure, i.e there is now a xerces/ directory before the
src/ directory. That is for Xerces-C-1.7 which I haven't *even* begun
to look at yet. You'll have to use the 1.6 source tarball for now
unless you want to patch preSWIG.pl up to use the new directory
hierarchy on your own.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to