hi,
i have tried to compile NGL.
i run:
./configure

it seems to work fine.
heres the config summary.
Configuration summary

  Host family      : unix
  Build            : debug
  Compiler         : g++ [g++ (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)]
  Display          : X11
  Extensions       : XF86VidMode
  Text conv.       : iconv
  PNG support      : yes
  JPEG support     : yes
  FreeType support : yes

then i type
./make
it seems to be working, until it reports from zip/ioapi.c that ioapi.h is not 
found.
then the compilation fails with many errors.  
I found a copy of ioapi.h and put it in the ngl/src/zip directory, and this 
time it said zlib.h is not found, and it failed again, so i found zlib.h in the 
ngl/src/zip dir and tried again.  It kept saying XXX.h is not found, two more 
times, where XXX.h was zip.h and unzip.h, and so i found copies of this files 
and put them in ngl/src/zip. Then finally the compilation failed in the 
following way.

zip/zip.c: In function `zipOpenNewFileInZip3':
zip/zip.c:814: error: `RAND_HEAD_LEN' undeclared (first use in this function)
zip/zip.c:814: error: (Each undeclared identifier is reported only once
zip/zip.c:814: error: for each function it appears in.)
zip/zip.c:820: warning: implicit declaration of function `crypthead'
zip/zip.c:814: warning: unused variable `bufHead'
zip/zip.c: In function `zipFlushWriteBuffer':
zip/zip.c:881: warning: implicit declaration of function `zencode'
make[2]: *** [zip/zip.lo] Error 1
make[2]: Leaving directory `/root/ngl-bundle-0.8.0/ngl/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ngl-bundle-0.8.0/ngl'
make: *** [all] Error 2

Also if I do
./make clean
and then
./configure --with-libpng=no
I get the second problem described above with this output;

zip/zip.c: In function `zipOpenNewFileInZip3':
zip/zip.c:814: error: `RAND_HEAD_LEN' undeclared (first use in this function)
etc...(as above)


So if you can give me any tips about how to compile NGL on my computer 
successfully, i would appeciate it.
  
Thanks,
michael

-- 
[EMAIL PROTECTED]

Reply via email to