Subject:
Re: [Godi-list] godi-skylift-20121022 issues (update with camlimages)
From:
Gerd Stolpmann <i...@gerd-stolpmann.de>
Date:
04/14/2013 10:42 PM
To:
William R <r...@libertysurf.fr>
CC:
godi-list@ocaml-programming.de
Am 12.04.2013 00:12:37 schrieb(en) William R:
- with godi-camlimages,
it seems that in godi you add a META file, which is good. this file
lacks support for package ps. One would need to add :
package "ps" (
description = "Camlimages support for ps file format"
requires = "camlimages.core, camlimages.ppm"
archive(byte) = "ci_ps.cma"
archive(native) = "ci_ps.cmxa"
)
and adding camlimages.ps in the "requires" line at the end of the
file.
Have you checked whether this entry exists also in the newer upstream
package (there is one with a new build system, but quite identical
otherwise)? Upgrading to this newer version is still a pending task.
yes, it uses "ps". Concerning the new build system, I personally kept
the old one that was I think better (at least, I can do cross
compilation with it in mxe, the mingw cross environment). As they do
not provide META file (sic), I will try to stick with something
similar to yours.
===> camlimages4.0.1 do actually have a META file... updating to this
build system would solve this issue.
I've done this. Please try out. There may still be errors because it is
really quite different.
Gerd,
- I had troubles with updated godi-camlimages. godi-camlimages started
to compile, but then godi discovered that camlimages was already
installed, and thus installation aborted. I was in a similar situation
as previously, where the package was not installed according to godi, so
it was impossible to clear it, and it was also impossible to install...
Solved the issue by manually removing pkg-lib/camlimages.
- once godi-camlimages 4.0.1 was installed, I could do native
compilation. But it failed with byte compilation. I guess it is a
problem from the camlimage compilation, but I am not sure :
/tmp/cc2bZjQw.o:(.data+0x36a8): undefined reference to `dGifOpenFileName'
/tmp/cc2bZjQw.o:(.data+0x36b0): undefined reference to `dGifCloseFile'
/tmp/cc2bZjQw.o:(.data+0x36b8): undefined reference to `dGifGetRecordType'
/tmp/cc2bZjQw.o:(.data+0x36c0): undefined reference to `dGifGetImageDesc'
/tmp/cc2bZjQw.o:(.data+0x36c8): undefined reference to `dGifGetLine'
/tmp/cc2bZjQw.o:(.data+0x36d0): undefined reference to `dGifGetExtension'
/tmp/cc2bZjQw.o:(.data+0x36d8): undefined reference to `eGifOpenFileName'
/tmp/cc2bZjQw.o:(.data+0x36e0): undefined reference to `eGifCloseFile'
/tmp/cc2bZjQw.o:(.data+0x36e8): undefined reference to `eGifPutScreenDesc'
/tmp/cc2bZjQw.o:(.data+0x36f0): undefined reference to `eGifPutImageDesc'
/tmp/cc2bZjQw.o:(.data+0x36f8): undefined reference to `eGifPutLine'
/tmp/cc2bZjQw.o:(.data+0x3700): undefined reference to `eGifPutExtension'
/tmp/cc2bZjQw.o:(.data+0x3708): undefined reference to `read_jpeg_scanline'
/tmp/cc2bZjQw.o:(.data+0x3710): undefined reference to
`close_jpeg_file_for_read'
/tmp/cc2bZjQw.o:(.data+0x3718): undefined reference to
`open_jpeg_file_for_write'
/tmp/cc2bZjQw.o:(.data+0x3720): undefined reference to `write_jpeg_scanline'
/tmp/cc2bZjQw.o:(.data+0x3728): undefined reference to
`close_jpeg_file_for_write'
/tmp/cc2bZjQw.o:(.data+0x3730): undefined reference to
`open_jpeg_file_for_write_cmyk'
/tmp/cc2bZjQw.o:(.data+0x3738): undefined reference to `read_jpeg_scanlines'
/tmp/cc2bZjQw.o:(.data+0x3740): undefined reference to
`open_jpeg_file_for_read'
/tmp/cc2bZjQw.o:(.data+0x3748): undefined reference to
`jpeg_set_scale_denom'
/tmp/cc2bZjQw.o:(.data+0x3750): undefined reference to
`open_jpeg_file_for_read_start'
/tmp/cc2bZjQw.o:(.data+0x3758): undefined reference to
`write_png_file_index'
/tmp/cc2bZjQw.o:(.data+0x3760): undefined reference to `write_png_file_rgb'
/tmp/cc2bZjQw.o:(.data+0x3768): undefined reference to `read_png_file'
/tmp/cc2bZjQw.o:(.data+0x3770): undefined reference to
`read_png_file_as_rgb24'
/tmp/cc2bZjQw.o:(.data+0x3778): undefined reference to
`open_tiff_file_for_read'
/tmp/cc2bZjQw.o:(.data+0x3780): undefined reference to `read_tiff_scanline'
/tmp/cc2bZjQw.o:(.data+0x3788): undefined reference to `close_tiff_file'
/tmp/cc2bZjQw.o:(.data+0x3790): undefined reference to
`open_tiff_file_for_write'
/tmp/cc2bZjQw.o:(.data+0x3798): undefined reference to `write_tiff_scanline'
/tmp/cc2bZjQw.o:(.data+0x37a0): undefined reference to `read_xpm_file'
collect2: ld returned 1 exit status
File "_none_", line 1:
Error: Error while building custom runtime system
Command exited with code 2.
Compilation unsuccessful after building 458 targets (454 cached) in
00:00:02.
Best regards
_______________________________________________
Godi-list mailing list
Godi-list@ocaml-programming.de
https://godirepo.camlcity.org/mailman/listinfo/godi-list