Re: compile errors on SuSE Enterprise Server 10

Brandon Long <[email protected]>
Newsgroups gmane.text.clearsilver.general
Organization Fiction L Networks
Message-ID <20071109232804.GC30216@bl1>
On 11/09/07 Steve uttered the following other thing:
> 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

This may be the same problem someone else mentioned about 64bit crc
earlier.  Its probably ok to ignore for the moment.
 
> 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

For Trac, you don't need perl or csharp, so you can either configure
with --disable-csharp and --disable-perl, or perhaps it did make python
successfully.

Brandon
-- 
 "archers need practice, dear, targets don't"
         Jason's Grandmother on boys staying out late
                                           http://www.fiction.net/blong/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.