mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #4883] Mac OS X: Fix for broken Apple cpp


From: spiralvoice
Subject: [Mldonkey-users] [patch #4883] Mac OS X: Fix for broken Apple cpp
Date: Wed, 8 Feb 2006 18:42:06 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

Follow-up Comment #2, patch #4883 (project mldonkey):

Ok, this is going to be a bit longer:
The problem is Apples cpp C preprocessor.
It is needed to convert
   src/utils/cdk/tar.mlcpp
and
   src/utils/lib/misc2.mlcpp
into tar.ml and misc2.ml
cpp does this but it produces a first line with "#pragma..." in
tar.ml and misc2.ml which confuses Ocaml compiler.
This patch should filter that line out but apparently fails to do so.

To test:
- clean CVS checkout
- apply patch
- ./configure (it calls make depend and fails)
- rm src/utils/cdk/tar.ml
- rm src/utils/lib/misc2.ml
- make depend (yes, again)

the first lines of "make depend" should call cpp _with sed or grep_,
if not something else is wrong. If yes, check the output files if
the first line contains "#pragma...".
If yes, you can manually remove it, call "make depend" again
which should succeed, then "make" to build MLDonkey.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4883>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]