Uqueue-gtk2 does not build with 3.10.1

View: New views
2 Messages — Rating Filter:   Alert me  

Uqueue-gtk2 does not build with 3.10.1

by Erlend Viddal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

When I attempt to compile ocamlnet with equeue-gtk2 support in ocaml
3.10.1 on a Ubuntu linux box, it fails on preprocessing. Attached is the
log from my attempt at building in GODI. The Debian community seems to
have addressed this in a patch (
http://patches.ubuntu.com/o/ocamlnet/extracted/build_w_camlp5.dpatch ),
but attempting to build from source with the changes from the patch
failed from missing the package "camlp5.macro".

This seems to me to be an issue with the changes to camlp4 with version
3.10 rather than my building environment. If so, is this an issue that
will be addressed in later releases of ocamlnet?

thanks,
Erlend Viddal

===> Cleaning for godi-ocamlnet-gtk2-2.2.9
=> Checksum OK for ocamlnet-2.2.9.tar.gz.
===> Extracting for godi-ocamlnet-gtk2-2.2.9
===> Required installed package godi-ocaml>=3.07: godi-ocaml-3.10.1 found
===> Required installed package godi-lablgtk2>=20040716: godi-lablgtk2-20051028godi1 found
===> Required installed package godi-ocamlnet==2.2.9: godi-ocamlnet-2.2.9 found
===> Required installed package godi-findlib>=1.0: godi-findlib-1.2.1 found
/bin/mkdir -p /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2/work/ocamlnet-2.2.9
===> Patching for godi-ocamlnet-gtk2-2.2.9
===> Configuring for godi-ocamlnet-gtk2-2.2.9
Welcome to Ocamlnet version 2.2.9
Checking for findlib... found
Checking multi-threading support... posix (ok)
Checking for PCRE... found
Checking operating system... Linux
    This OS supports passing credentials over Unix domain sockets
    Building rpc-auth-local
Checking for POSIX shared memory... found
Checking for lablgtk2... found
Checking whether lablgtk2 has GMain.Io.remove... yes
Checking whether lablgtk2 has GMain.Io.add_watch with list support... yes

Effective options:
    -disable-gtk
    -enable-gtk2
    -disable-tcl
    -disable-ssl
    -disable-apache
    -without-nethttpd
    -without-rpc-auth-dh
    -bindir /home/eviddal/apps/godi/bin
    -datadir /home/eviddal/apps/godi/lib/ocaml/site-lib/netstring

Writing Makefile.conf

Please check Makefile.conf.

You can now compile Ocamlnet by invoking
   make all
for the bytecode compiler, and optionally by invoking
   make opt
for the native-code compiler (if supported on your architecture).
Finally, a
   make install
will install the package(s).
===> Building for godi-ocamlnet-gtk2-2.2.9
for pkg in equeue-gtk2; do  ( cd src/$pkg && /home/eviddal/apps/godi/bin/godi_make -f Makefile.pre generate ) || exit;  ( cd src/$pkg && /home/eviddal/apps/godi/bin/godi_make -f Makefile.pre depend ) || exit;  ( cd src/$pkg && /home/eviddal/apps/godi/bin/godi_make all ) || exit;  done
sed -e 's/@VERSION@/2.2.9/'  -e 's/@AUTHDHREQS@//'  -e 's/@PREFERRED_CGI_PKG@/netcgi1/'  META.in >META
ocamlfind ocamldep  -syntax camlp4o -package camlp4.macro -ppopt -DGTK2_IO_ADD_WATCH_SUPPORTS_LISTS *.ml *.mli >depend || { rm -f depend; exit 1; }
File "uq_gtk.ml", line 150, characters 44-45:
Parse error: ";" or ":" or ":>" or ")" expected after [expr] (in [expr])
Preprocessing error on file uq_gtk.ml
*** Error code 1

Stop.
godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2/work/ocamlnet-2.2.9/src/equeue-gtk2
*** Error code 1

Stop.
godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2/work/ocamlnet-2.2.9
*** Error code 1

Stop.
godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2
*** Error code 1

Stop.
godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ocamlnet-devel mailing list
Ocamlnet-devel@...
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

Re: Uqueue-gtk2 does not build with 3.10.1

by Gerd Stolpmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Am Dienstag, den 08.04.2008, 10:26 +0200 schrieb Erlend Viddal:

> Hello,
>
> When I attempt to compile ocamlnet with equeue-gtk2 support in ocaml
> 3.10.1 on a Ubuntu linux box, it fails on preprocessing. Attached is the
> log from my attempt at building in GODI. The Debian community seems to
> have addressed this in a patch (
> http://patches.ubuntu.com/o/ocamlnet/extracted/build_w_camlp5.dpatch ),
> but attempting to build from source with the changes from the patch
> failed from missing the package "camlp5.macro".
>
> This seems to me to be an issue with the changes to camlp4 with version
> 3.10 rather than my building environment. If so, is this an issue that
> will be addressed in later releases of ocamlnet?

Yes, it will be. In the meantime, you can use these patches from GODI:

https://godirepo.camlcity.org/svn/godi-build/trunk/godi/godi-ocamlnet-gtk2/patches/

Of course, they are now automatically applied when you install from
GODI.

Thanks for reporting the issue.

Gerd

>
> thanks,
> Erlend Viddal
> einfaches Textdokument-Anlage (godi_equeue-gtk2_buildlog.txt)
> ===> Cleaning for godi-ocamlnet-gtk2-2.2.9
> => Checksum OK for ocamlnet-2.2.9.tar.gz.
> ===> Extracting for godi-ocamlnet-gtk2-2.2.9
> ===> Required installed package godi-ocaml>=3.07: godi-ocaml-3.10.1 found
> ===> Required installed package godi-lablgtk2>=20040716: godi-lablgtk2-20051028godi1 found
> ===> Required installed package godi-ocamlnet==2.2.9: godi-ocamlnet-2.2.9 found
> ===> Required installed package godi-findlib>=1.0: godi-findlib-1.2.1 found
> /bin/mkdir -p /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2/work/ocamlnet-2.2.9
> ===> Patching for godi-ocamlnet-gtk2-2.2.9
> ===> Configuring for godi-ocamlnet-gtk2-2.2.9
> Welcome to Ocamlnet version 2.2.9
> Checking for findlib... found
> Checking multi-threading support... posix (ok)
> Checking for PCRE... found
> Checking operating system... Linux
>     This OS supports passing credentials over Unix domain sockets
>     Building rpc-auth-local
> Checking for POSIX shared memory... found
> Checking for lablgtk2... found
> Checking whether lablgtk2 has GMain.Io.remove... yes
> Checking whether lablgtk2 has GMain.Io.add_watch with list support... yes
>
> Effective options:
>     -disable-gtk
>     -enable-gtk2
>     -disable-tcl
>     -disable-ssl
>     -disable-apache
>     -without-nethttpd
>     -without-rpc-auth-dh
>     -bindir /home/eviddal/apps/godi/bin
>     -datadir /home/eviddal/apps/godi/lib/ocaml/site-lib/netstring
>
> Writing Makefile.conf
>
> Please check Makefile.conf.
>
> You can now compile Ocamlnet by invoking
>    make all
> for the bytecode compiler, and optionally by invoking
>    make opt
> for the native-code compiler (if supported on your architecture).
> Finally, a
>    make install
> will install the package(s).
> ===> Building for godi-ocamlnet-gtk2-2.2.9
> for pkg in equeue-gtk2; do  ( cd src/$pkg && /home/eviddal/apps/godi/bin/godi_make -f Makefile.pre generate ) || exit;  ( cd src/$pkg && /home/eviddal/apps/godi/bin/godi_make -f Makefile.pre depend ) || exit;  ( cd src/$pkg && /home/eviddal/apps/godi/bin/godi_make all ) || exit;  done
> sed -e 's/@VERSION@/2.2.9/'  -e 's/@AUTHDHREQS@//'  -e 's/@PREFERRED_CGI_PKG@/netcgi1/'  META.in >META
> ocamlfind ocamldep  -syntax camlp4o -package camlp4.macro -ppopt -DGTK2_IO_ADD_WATCH_SUPPORTS_LISTS *.ml *.mli >depend || { rm -f depend; exit 1; }
> File "uq_gtk.ml", line 150, characters 44-45:
> Parse error: ";" or ":" or ":>" or ")" expected after [expr] (in [expr])
> Preprocessing error on file uq_gtk.ml
> *** Error code 1
>
> Stop.
> godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2/work/ocamlnet-2.2.9/src/equeue-gtk2
> *** Error code 1
>
> Stop.
> godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2/work/ocamlnet-2.2.9
> *** Error code 1
>
> Stop.
> godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2
> *** Error code 1
>
> Stop.
> godi_make: stopped in /home/eviddal/apps/godi/build/godi/godi-ocamlnet-gtk2
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________ Ocamlnet-devel mailing list Ocamlnet-devel@... https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel
--
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
gerd@...          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ocamlnet-devel mailing list
Ocamlnet-devel@...
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel
LightInTheBox - Buy quality products at wholesale price!