bugmldonkey, a multi-networks file-sharing client - Bugs: bug #36654, Reassigned to another tracker...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36654: Reassigned to another tracker [was: restore OSX compatibility]

Submitter:  nibbles <github_2bits>
Submitted:  Thu 14 Jun 2012 02:44:25 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Compilation problem Status:  None
Assigned to:  None Open/Closed:  Closed
Release:  None Release:  3.1.1
Operating System:  Mac OS X 10.4 Binaries Origin:  CVS / Self compiled
CPU type:  x86_64

Sat 23 Jun 2012 11:25:12 AM UTC, comment #3: 

THIS ITEM WAS REASSIGNED TO PATCH #7798


Please, do not post any new comments to this item.

spiralvoice <spiralvoice>
Group administrator
Sun 17 Jun 2012 01:51:18 AM UTC, comment #2: 

Oh that works perfectly with clang and llvm-gcc on Lion 10.7.4 from XCode-4.3.3.

I guess this was only a sed issue.  I will change the patch that Homebrew uses.

Thanks!

nibbles <github_2bits>
Fri 15 Jun 2012 07:02:47 PM UTC, comment #1: 

What happens if you use shell redirection > but leave $(CPP) -x c as is?
http://mldonkey.sourceforge.net/phpBB2/viewtopic.php?p=31986#31986

ygrek <ygrek>
Group Member
Thu 14 Jun 2012 02:44:25 AM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO PATCH #7798
Reporting this for Homebrew a package installer for Macs.

When building mldonkey-3.1.1, the second compile error we get using llvm-gcc-4.2.1 or clang-3.1 from XCode-4.3.3 besides the error reported in issue 7727 is that, on OSX, sed doesn't not have a -o option to direct the output to a file.  I can fix this using > instead. 

This is the error we see (after applying the change from 7727)


$ make install
cpp -P src/utils/cdk/tar.mlcpp | sed -n '/^#pragma/!p' -o src/utils/cdk/tar.ml
cpp -P src/utils/lib/misc2.mlcpp | sed -n '/^#pragma/!p' -o src/utils/lib/misc2.ml
sed: -o: No such file or directory
sed: src/utils/lib/misc2.ml: No such file or directory
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
make: *** Waiting for unfinished jobs....
make: *** [src/utils/lib/misc2.ml] Error 1



I've attched the patches we are applying to get mldonkey to compile that fix 7727 and the sed bug.

I've attached my config.log and make.log also to show the build when it errors.  Thanks for your help.

nibbles

nibbles <github_2bits>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by spiralvoice (Updated the item)
  • -email is unavailable- added by ygrek (Posted a comment)
  • -email is unavailable- added by github_2bits (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-23 spiralvoice Summary3.1.1 - Compile error on OSX, sed doesn\'t have a `-o` option. restore OSX compatibility
        Reassign Itemmldonkey, a multi-networks file-sharing client, bug #36654 mldonkey, a multi-networks file-sharing client, patch #7798
    2012-06-14 github_2bits Attached File- Added Makefile.diff, #26023
        Attached File- Added Makefile.in.diff, #26024
        Attached File- Added config.log, #26025
        Attached File- Added make.log, #26026

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code