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/



_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users

Reply via email to