caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Problems compiling chameleon.
@ 2002-10-08  8:32 Thaddeus L. Olczyk
  2002-10-08 13:50 ` Daniel de Rauglaudre
  0 siblings, 1 reply; 7+ messages in thread
From: Thaddeus L. Olczyk @ 2002-10-08  8:32 UTC (permalink / raw)
  To: Ocaml

Apologies. I posted this to the beginners list about four days ago.
Since then one person posted that he was having the same problem.
I also recieved a couple of emails.
So I thought I would post here.



I've encountered some problems compiling chameleon on Windows.
here  is where I am at now.
1) I placed the gtk libraries in e:/ObjectiveCaml/bin.
2) I installed lablgtk in e:/ObjectiveCaml/lablgtk.
3) I execute the madatory "configure" command.
4) I execute the command:
     make depend.

At this point problems sort of spread out.
I cannot remember what library was missing from the distribution,
but I got an error message about a mising library. When I check for
this library it is in the e:/ObjectiveCaml/lib directory and should
have been found. 

So I look at master make and find a bunch of environmental variables
inititialized the cygwin way, and one initialized e:\ObjectCaml\lib.
So I change this to /cygdrive/e/ObjectiveCaml/lib. Now make depends
fails to find "pa_extend.cmo" in the command:
 ocamldep -pp camlp4r *.ml* > .depend

I replace all occurances of /cygdrive/e/ObjectiveCaml with
e:/ObjectiveCaml and use / as the path seperator ( legal in Windows).
That didn't help any.

Suggestions?
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Problems compiling chameleon.
  2002-10-08  8:32 [Caml-list] Problems compiling chameleon Thaddeus L. Olczyk
@ 2002-10-08 13:50 ` Daniel de Rauglaudre
  2002-10-08 17:37   ` Thaddeus L. Olczyk
  2002-10-09  8:08   ` Thaddeus L. Olczyk
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel de Rauglaudre @ 2002-10-08 13:50 UTC (permalink / raw)
  To: caml-list

Hi,

On Tue, Oct 08, 2002 at 08:32:32AM +0000, Thaddeus L. Olczyk wrote:

> So I change this to /cygdrive/e/ObjectiveCaml/lib. Now make depends
> fails to find "pa_extend.cmo" in the command:
>  ocamldep -pp camlp4r *.ml* > .depend

Perhaps a problem of installation. The file pa_extend.cmo should be in
the library directory of ocaml, sub-directory camlp4. Is it there? If
yes, try the command "camlp4 -where": it should display how camlp4
sees its library directory.

But it may be also a problem with Cygwin, because it is often
difficult to know if you have to use /cygdrive/e and right slashes or
E:\ and backslashes or a mix of right and back slashes or double
backslashes because of OCaml strings, and so on.

A way to change the Camlp4 library directory, without having to
recompile it is to define the environment variable CAMLP4LIB. Perhaps
redefining it with a "good value" (try several), it works better?

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Problems compiling chameleon.
  2002-10-08 13:50 ` Daniel de Rauglaudre
@ 2002-10-08 17:37   ` Thaddeus L. Olczyk
  2002-10-09  8:08   ` Thaddeus L. Olczyk
  1 sibling, 0 replies; 7+ messages in thread
From: Thaddeus L. Olczyk @ 2002-10-08 17:37 UTC (permalink / raw)
  To: caml-list; +Cc: caml-list

On Tue, 08 Oct 2002 15:50:19 +0200, Daniel de Rauglaudre
<daniel.de_rauglaudre@inria.fr> wrote:

>Hi,
>
>On Tue, Oct 08, 2002 at 08:32:32AM +0000, Thaddeus L. Olczyk wrote:
>
>> So I change this to /cygdrive/e/ObjectiveCaml/lib. Now make depends
>> fails to find "pa_extend.cmo" in the command:
>>  ocamldep -pp camlp4r *.ml* > .depend
>
>Perhaps a problem of installation. The file pa_extend.cmo should be in
>the library directory of ocaml, sub-directory camlp4. Is it there? If
>yes, try the command "camlp4 -where": it should display how camlp4
>sees its library directory.
>
I'll try the rest later, but a comment for now.

I took the self-extacting 3.06 distribution.
( For those with no Windows knowledge. )
Basically an executable that is supposed to 
set everything up. 

So if this is an installation problem one of the people
creating the distribution screwed up.

PS: The file is there. I checked before sending.

PPS: camlp4 -where reports c:/caml/lib/camlp4/ which is just wrong.
About six months ago I put on an old version of caml ( which I removed
) perhaps that is causing the problem.



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Problems compiling chameleon.
  2002-10-08 13:50 ` Daniel de Rauglaudre
  2002-10-08 17:37   ` Thaddeus L. Olczyk
@ 2002-10-09  8:08   ` Thaddeus L. Olczyk
  2002-10-09  8:21     ` Jérôme Marant
  2002-10-09  9:55     ` Thaddeus L. Olczyk
  1 sibling, 2 replies; 7+ messages in thread
From: Thaddeus L. Olczyk @ 2002-10-09  8:08 UTC (permalink / raw)
  To: caml-list

On Tue, 08 Oct 2002 15:50:19 +0200, Daniel de Rauglaudre
<daniel.de_rauglaudre@inria.fr> wrote:

>A way to change the Camlp4 library directory, without having to
>recompile it is to define the environment variable CAMLP4LIB. Perhaps
>redefining it with a "good value" (try several), it works better?

This helps somewhat. 
After adding this to the script and modifiing lablgtk ( two lines )
I get the message:

e:/ObjectiveCaml/bin/ocamlc -pp 'grep -v DEBUG' -I
e:/ObjectiveCaml/lablgtk/lib/lablgtk -I e:/ObjectiveCaml/lib -I
e:/ObjectiveCaml/cameleon/ioxml -I e:/ObjectiveCaml/cameleon/options
-I e:/ObjectiveCaml/cameleon/okey -I
e:/ObjectiveCaml/cameleon/configwin -I
e:/ObjectiveCaml/cameleon/gpattern -I
e:/ObjectiveCaml/cameleon/dbforge -I
e:/ObjectiveCaml/cameleon/dbforge/ocamlsql -I
e:/ObjectiveCaml/cameleon/report -I +ocamldoc -I +camlp4 -I
e:/ObjectiveCaml/cameleon/zoggy -I e:/ObjectiveCaml/cameleon/mlchat -I
e:/ObjectiveCaml/cameleon/ocamlcvs -I
e:/ObjectiveCaml/cameleon/cameleon -I e:/ObjectiveCaml/cameleon/camtop
-I e:/ObjectiveCaml/cameleon/omom -c configwin.ml
make[3]: gtk-config: Command not found
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Problems compiling chameleon.
  2002-10-09  8:08   ` Thaddeus L. Olczyk
@ 2002-10-09  8:21     ` Jérôme Marant
  2002-10-09  9:55     ` Thaddeus L. Olczyk
  1 sibling, 0 replies; 7+ messages in thread
From: Jérôme Marant @ 2002-10-09  8:21 UTC (permalink / raw)
  To: caml-list

En réponse à "Thaddeus L. Olczyk" <olczyk@interaccess.com>:

> This helps somewhat. 
> After adding this to the script and modifiing lablgtk ( two lines )
> I get the message:
> 
> e:/ObjectiveCaml/bin/ocamlc -pp 'grep -v DEBUG' -I
> e:/ObjectiveCaml/lablgtk/lib/lablgtk -I e:/ObjectiveCaml/lib -I
> e:/ObjectiveCaml/cameleon/ioxml -I e:/ObjectiveCaml/cameleon/options
> -I e:/ObjectiveCaml/cameleon/okey -I
> e:/ObjectiveCaml/cameleon/configwin -I
> e:/ObjectiveCaml/cameleon/gpattern -I
> e:/ObjectiveCaml/cameleon/dbforge -I
> e:/ObjectiveCaml/cameleon/dbforge/ocamlsql -I
> e:/ObjectiveCaml/cameleon/report -I +ocamldoc -I +camlp4 -I
> e:/ObjectiveCaml/cameleon/zoggy -I e:/ObjectiveCaml/cameleon/mlchat -I
> e:/ObjectiveCaml/cameleon/ocamlcvs -I
> e:/ObjectiveCaml/cameleon/cameleon -I e:/ObjectiveCaml/cameleon/camtop
> -I e:/ObjectiveCaml/cameleon/omom -c configwin.ml
> make[3]: gtk-config: Command not found

It is obvious that it didn't find the gtk-config script.
gtk-config is a script which gives the proper parameters
you have to pass to the C compiler in order to use and
link your programs to GTK. 

How did you install GTK on your system? (I have no
knowledge about installing unix program under Window though)

Cheers,

--
Jérôme Marant <jerome@marant.org>
              <jerome.marant@free.fr>

http://marant.org
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Problems compiling chameleon.
  2002-10-09  8:08   ` Thaddeus L. Olczyk
  2002-10-09  8:21     ` Jérôme Marant
@ 2002-10-09  9:55     ` Thaddeus L. Olczyk
  2002-10-09 20:29       ` Thaddeus L. Olczyk
  1 sibling, 1 reply; 7+ messages in thread
From: Thaddeus L. Olczyk @ 2002-10-09  9:55 UTC (permalink / raw)
  To: caml-list

On Wed, 09 Oct 2002 10:22:48 +0200, Maxence Guesdon
<maxence.guesdon@inria.fr> wrote:

>> After adding this to the script and modifiing lablgtk ( two lines )
>> I get the message:
>> 
>> e:/ObjectiveCaml/bin/ocamlc -pp 'grep -v DEBUG' -I
>> e:/ObjectiveCaml/lablgtk/lib/lablgtk -I e:/ObjectiveCaml/lib -I
>> e:/ObjectiveCaml/cameleon/ioxml -I e:/ObjectiveCaml/cameleon/options
>> -I e:/ObjectiveCaml/cameleon/okey -I
>> e:/ObjectiveCaml/cameleon/configwin -I
>> e:/ObjectiveCaml/cameleon/gpattern -I
>> e:/ObjectiveCaml/cameleon/dbforge -I
>> e:/ObjectiveCaml/cameleon/dbforge/ocamlsql -I
>> e:/ObjectiveCaml/cameleon/report -I +ocamldoc -I +camlp4 -I
>> e:/ObjectiveCaml/cameleon/zoggy -I e:/ObjectiveCaml/cameleon/mlchat -I
>> e:/ObjectiveCaml/cameleon/ocamlcvs -I
>> e:/ObjectiveCaml/cameleon/cameleon -I e:/ObjectiveCaml/cameleon/camtop
>> -I e:/ObjectiveCaml/cameleon/omom -c configwin.ml
>> make[3]: gtk-config: Command not found
>
>You don't have the gtk-devel package installed, which provides this utility and the libraries to link to.
What gtk-devel package? For that matter what packages. Windows doesn't
use packages.

I've downloaded lablgtk and the gtk dlls for windows from the labgtk
web site. As far as I can see it is setup correctly.

The only other option would be to go to the GTK for Windows web page.
That won't work because the page is one of the worst written and most
badly irganized web pages in existence.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Problems compiling chameleon.
  2002-10-09  9:55     ` Thaddeus L. Olczyk
@ 2002-10-09 20:29       ` Thaddeus L. Olczyk
  0 siblings, 0 replies; 7+ messages in thread
From: Thaddeus L. Olczyk @ 2002-10-09 20:29 UTC (permalink / raw)
  To: olczyk; +Cc: caml-list

make[3]: Entering directory
`/cygdrive/e/ObjectiveCaml/cameleon/ocamlcvs'
e:/ObjectiveCaml/bin/ocamlc -custom -o ocamlcvs -ccopt "
-Le:/ObjectiveCaml/lablgtk/lib/lablgtk -llablgtk " unix.cma str.cma
e:/ObjectiveCaml/lablgtk/lib/lablgtk/lablgtk.cma   ocvs_messages.cmo
odiff_types.cmo odiff_parser.cmo odiff_lexer.cmo ocvs_types.cmo
ocvs_misc.cmo ocvs_config.cmo ocvs_revision.cmo ocvs_commands.cmo
odiff_merge.cmo ocvs_behav.cmo odiff_gui.cmo ocvs_list.cmo
ocvs_tree.cmo ocvs.cmo
Files odiff_lexer.cmo and odiff_parser.cmo
make inconsistent assumptions over interface Odiff_parser
Latest problem:
make[3]: Entering directory
`/cygdrive/e/ObjectiveCaml/cameleon/ocamlcvs'
e:/ObjectiveCaml/bin/ocamlc -custom -o ocamlcvs -ccopt "
-Le:/ObjectiveCaml/lablgtk/lib/lablgtk -llablgtk " unix.cma str.cma
e:/ObjectiveCaml/lablgtk/lib/lablgtk/lablgtk.cma   ocvs_messages.cmo
odiff_types.cmo odiff_parser.cmo odiff_lexer.cmo ocvs_types.cmo
ocvs_misc.cmo ocvs_config.cmo ocvs_revision.cmo ocvs_commands.cmo
odiff_merge.cmo ocvs_behav.cmo odiff_gui.cmo ocvs_list.cmo
ocvs_tree.cmo ocvs.cmo
Files odiff_lexer.cmo and odiff_parser.cmo
make inconsistent assumptions over interface Odiff_parser

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-10-09 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08  8:32 [Caml-list] Problems compiling chameleon Thaddeus L. Olczyk
2002-10-08 13:50 ` Daniel de Rauglaudre
2002-10-08 17:37   ` Thaddeus L. Olczyk
2002-10-09  8:08   ` Thaddeus L. Olczyk
2002-10-09  8:21     ` Jérôme Marant
2002-10-09  9:55     ` Thaddeus L. Olczyk
2002-10-09 20:29       ` Thaddeus L. Olczyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).