| View previous topic :: View next topic |
| Author |
Message |
keseven neophyte
Joined: 30 May 2012 Posts: 3
|
Posted: Thu May 31, 2012 10:45 am Post subject: error compile 3.1.1 and 3.1.2 |
|
|
hello.
i tried to compile version 3.1.1 on a intel mac pro, os x 10.5.8 using mldonkey-3.1.1.tar.bz2 but after the command "make" i get this error:
sed: -o: No such file or directory
sed: src/utils/cdk/tar.ml: No such file or directory
make: *** [src/utils/cdk/tar.ml] Error 1
was hoping it works with the new version 3.1.2 but i keep getting this error.
3.1.0 i compiled successfull
thx for help |
|
| Back to top |
|
 |
ygrek professional

Joined: 20 Mar 2010 Posts: 521
|
Posted: Fri Jun 01, 2012 9:53 am Post subject: |
|
|
Looks like you are using FIX_BROKEN_CPP ? Show configure and build logs. _________________ Download | Report bugs | git mirror |
|
| Back to top |
|
 |
ygrek professional

Joined: 20 Mar 2010 Posts: 521
|
Posted: Thu Jun 07, 2012 2:47 pm Post subject: |
|
|
Here is the patch, sorry for the breakage. (please test)
| Code: |
--- a/config/Makefile.in
+++ b/config/Makefile.in
@@ -1847,7 +1847,7 @@ rpm: sourcedist
$(OCAMLC) $(DEVFLAGS) $(INCLUDES) -c $<
.mlcpp.ml:
- @$(CPP) -x c -P $< $(FIX_BROKEN_CPP) -o $@
+ @$(CPP) -x c -P $< $(FIX_BROKEN_CPP) > $@
%.ml: %.mlp $(BITSTRING)/pa_bitstring.cmo
$(CAMLP4OF) build/bitstring.cma $(BITSTRING)/bitstring_persistent.cmo $(BITSTRING)/pa_bitstring.cmo -impl $< -o $@
|
_________________ Download | Report bugs | git mirror |
|
| Back to top |
|
 |
keseven neophyte
Joined: 30 May 2012 Posts: 3
|
Posted: Thu Jun 21, 2012 7:27 am Post subject: |
|
|
ok, i applied the patch (not sure if i did it right) then i get this...
missing header for unified diff at line 10 of patch
patching file config/Makefile.in
patch: **** malformed patch at line 11: \'a0 \'a0 \'a0 \'a0 $(OCAMLC) $(DEVFLAGS) $(INCLUDES) -c $< \
knowing that something must be wrong i compiled it anyway to get this again..
sed: -o: No such file or directory
sed: src/utils/cdk/tar.ml: No such file or directory
make: *** [src/utils/cdk/tar.ml] Error 1
not sure if its my fault or its the patch
thx for help |
|
| Back to top |
|
 |
ygrek professional

Joined: 20 Mar 2010 Posts: 521
|
Posted: Thu Jun 21, 2012 9:21 am Post subject: |
|
|
Looks like somethign went wrong. Try this way :
| Code: |
curl http://repo.or.cz/w/mldonkey.git/patch/5ba13dd547e65c93845a6cff9653fc739bd28704 | patch -p1 |
It shouldn't show any errors.[/code] _________________ Download | Report bugs | git mirror |
|
| Back to top |
|
 |
keseven neophyte
Joined: 30 May 2012 Posts: 3
|
Posted: Thu Jun 21, 2012 11:35 am Post subject: |
|
|
looks like that did the job. version 3.1.2 up and running.
thx alot ygrek |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
|