caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Ocaml Makefile on FreeBSD
@ 2002-11-29  1:48 climb
  2002-11-29  2:48 ` Ceri Storey
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: climb @ 2002-11-29  1:48 UTC (permalink / raw)
  To: caml-list

I am forced to used FreeBSD these days.
So, i copy the my caml project dir into FreeBSD.
But i can not use Ocaml Makefile  which can use in RedHat8
when i type make ,
it says  at XXX line , Need an operator. Error expanding embeded variable 

how can i solve these problem ?
 

Best regards
            
              Yours
                         climb
                         onlyclimb@163.com
                         2002-11-29

 
     
                     



-------------------
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] 6+ messages in thread

* Re: [Caml-list] Ocaml Makefile on FreeBSD
  2002-11-29  1:48 [Caml-list] Ocaml Makefile on FreeBSD climb
@ 2002-11-29  2:48 ` Ceri Storey
  2002-11-29  6:47 ` Johan Baltié
  2002-11-29 14:46 ` Nicolas Cannasse
  2 siblings, 0 replies; 6+ messages in thread
From: Ceri Storey @ 2002-11-29  2:48 UTC (permalink / raw)
  To: climb; +Cc: caml-list

On Fri, Nov 29, 2002 at 09:48:07AM +0800, climb wrote:
> I am forced to used FreeBSD these days.
> So, i copy the my caml project dir into FreeBSD.
> But i can not use Ocaml Makefile  which can use in RedHat8
> when i type make ,
> it says  at XXX line , Need an operator. Error expanding embeded variable 

Install GNU make from ports (cd /usr/ports/devel/gmake && make install),
and use 'gmake' instead of 'make'.
-- 
Ceri Storey <cez@compsoc.man.ac.uk>
-------------------
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] 6+ messages in thread

* Re: [Caml-list] Ocaml Makefile on FreeBSD
  2002-11-29  1:48 [Caml-list] Ocaml Makefile on FreeBSD climb
  2002-11-29  2:48 ` Ceri Storey
@ 2002-11-29  6:47 ` Johan Baltié
  2002-11-29  8:51   ` Richard Nyberg
  2002-11-29 14:46 ` Nicolas Cannasse
  2 siblings, 1 reply; 6+ messages in thread
From: Johan Baltié @ 2002-11-29  6:47 UTC (permalink / raw)
  To: climb, caml-list

Le Vendredi 29 Novembre 2002 02:48, climb a écrit :
> I am forced to used FreeBSD these days.
> So, i copy the my caml project dir into FreeBSD.
> But i can not use Ocaml Makefile  which can use in RedHat8
> when i type make ,
> it says  at XXX line , Need an operator. Error expanding embeded variable
>
> how can i solve these problem ?

By using gmake instead of make.

Default "make" on BSD is not GNU compliant.

-- 
Ciao

Jo

-------------------
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] 6+ messages in thread

* Re: [Caml-list] Ocaml Makefile on FreeBSD
  2002-11-29  6:47 ` Johan Baltié
@ 2002-11-29  8:51   ` Richard Nyberg
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Nyberg @ 2002-11-29  8:51 UTC (permalink / raw)
  To: caml-list

> By using gmake instead of make.
> 
> Default "make" on BSD is not GNU compliant.

Well, GNU make is not BSD compliant ;)

Anyway, if you're writing a Makefile which invokes make recursively
please invoke it as $(MAKE) instead of make. This saves people from
having to modify the makefile if the make they want to use has another
name.

	-Richard

-------------------
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] 6+ messages in thread

* Re: [Caml-list] Ocaml Makefile on FreeBSD
  2002-11-29  1:48 [Caml-list] Ocaml Makefile on FreeBSD climb
  2002-11-29  2:48 ` Ceri Storey
  2002-11-29  6:47 ` Johan Baltié
@ 2002-11-29 14:46 ` Nicolas Cannasse
  2 siblings, 0 replies; 6+ messages in thread
From: Nicolas Cannasse @ 2002-11-29 14:46 UTC (permalink / raw)
  To: climb, caml-list

> I am forced to used FreeBSD these days.
> So, i copy the my caml project dir into FreeBSD.
> But i can not use Ocaml Makefile  which can use in RedHat8
> when i type make ,
> it says  at XXX line , Need an operator. Error expanding embeded variable
>
> how can i solve these problem ?

If your build process does not require special / funny stuff, you should try
to use "ocamake" ( http://tech.motion-twin.com ). Although I didn't test it
on FreeBSD, it should work without any problem.

Nicolas Cannasse

-------------------
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] 6+ messages in thread

* [Caml-list] Ocaml Makefile on FreeBSD
@ 2002-11-29  1:31 climb
  0 siblings, 0 replies; 6+ messages in thread
From: climb @ 2002-11-29  1:31 UTC (permalink / raw)
  To: caml-list

I am forced to used FreeBSD these days.
So, i copy the my caml project dir into FreeBSD.
But i can not use Ocaml Makefile  which can use in RedHat8
when i type make ,
it says  at XXX line , Need an operator. Error expanding embeded variable 

how can i solve these problem ?
 

Best regards
            
              Yours
                         climb
                         onlyclimb@163.com
                         2002-11-29

 
     
                     



-------------------
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] 6+ messages in thread

end of thread, other threads:[~2002-11-29 13:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-29  1:48 [Caml-list] Ocaml Makefile on FreeBSD climb
2002-11-29  2:48 ` Ceri Storey
2002-11-29  6:47 ` Johan Baltié
2002-11-29  8:51   ` Richard Nyberg
2002-11-29 14:46 ` Nicolas Cannasse
  -- strict thread matches above, loose matches on Subject: below --
2002-11-29  1:31 climb

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).