compile errors on SuSE Enterprise Server 10
"Steve" <[email protected]>
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
Trying to build and install ClearSilver 0.10.5 in support of a Trac
installation.
Using gcc 4.2.1, python 2.4,
with default ./configure
upon make I pick up 3 errors:
1. Running cs regression tests
Failed Regression Test: test_crc.cs
See test_crc.cs.out and test_crc.cs.err
make[1]: *** [test] Error 1
2. Running Mkbootstrap for ClearSilver ()
chmod 644 ClearSilver.bs
rm -f blib/arch/auto/ClearSilver/ClearSilver.so
LD_RUN_PATH="/lib64" cc -shared -L/usr/local/lib64 ClearSilver.o -o
blib/arch/ auto/ClearSilver/ClearSilver.so \
-L/root/distributables/clearsilver-0.10.5/perl/../libs -lneo_cgi
-lneo_cs -ln eo_utl -lz \
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
can not find -lz
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/ClearSilver/ClearSilver.so] Error 1
3. Running csharp test
Unhandled Exception:
System.Runtime.InteropServices.MarshalDirectiveException: C an not
marshal 'parameter #1': Pointers can not reference marshaled
structures. Use byref instead.
at (wrapper managed-to-native) Clearsilver.Hdf:hdf_set_value
(Clearsilver.HDF* ,string,string)
at Clearsilver.Hdf.setValue (System.String name, System.String
value) [0x00000 ]
at CSTest.Main (System.String[] argv) [0x00000]
Failed csharp test: cstest.cs
See cstest.out and cstest.err
make[1]: *** [testcs] Error 1
make[1]: Leaving directory
`/root/distributables/clearsilver-0.10.5/csharp'
make: *** [cs] Error 2
Any advice is appreciated - thanks