[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
csharpcomp: cscc writes to srcdir?
From: |
Simon Josefsson |
Subject: |
csharpcomp: cscc writes to srcdir? |
Date: |
Thu, 08 Jun 2006 11:16:55 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
I'm not sure why I've been starting to see this now, it has worked
fine since the module was added, perhaps the C# compiler changed
during some upgrade. Anyway, with 'make distcheck' I get:
checking for preferred C# implementation... any
...
checking for C# compiler... cscc
Making all in csharp
make[3]: Entering directory
`/home/jas/self/src/libidn/libidn-0.6.4/_build/csharp'
/bin/sh ../csharpcomp.sh -o Libidn.dll \
`for src in AssemblyInfo.cs IDNA.cs RFC3454.cs
CombiningClass.cs IDNAException.cs Stringprep.cs Composition.cs NFKC.cs
StringprepException.cs DecompositionKeys.cs Punycode.cs
DecompositionMappings.cs PunycodeException.cs; do echo ../../csharp/$src; done`
../../csharp/AssemblyInfo.objtmp: Permission denied
make[3]: *** [Libidn.dll] Error 1
make[3]: Leaving directory
`/home/jas/self/src/libidn/libidn-0.6.4/_build/csharp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jas/self/src/libidn/libidn-0.6.4/_build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jas/self/src/libidn/libidn-0.6.4/_build'
make: *** [distcheck] Error 2
address@hidden:~/src/libidn$
Since csharpcomp.sh just invoke cscc, maybe it is a problem with it?
It shouldn't write to srcdir, IMHO.
The script reduces to invoking cscc -shared -o Libidn.dll
../../csharp/AssemblyInfo.cs ..., as in:
address@hidden:~/src/libidn/libidn-0.6.4/_build/csharp$ cscc -shared -o
Libidn.ddl .. /../csharp/AssemblyInfo.cs
../../csharp/AssemblyInfo.objtmp: Permission denied
address@hidden:~/src/libidn/libidn-0.6.4/_build/csharp$
Should csharpcomp copy the *.cs file before compilation, perhaps?
/Simon
- csharpcomp: cscc writes to srcdir?,
Simon Josefsson <=