bugmldonkey, a multi-networks file-sharing client - Bugs: bug #8797, Minor portability fixes for...

 
 

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

bug #8797: Minor portability fixes for compiling and installing on Solaris

Submitted by:  None
Submitted on:  Tue 04 May 2004 08:58:25 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Compilation problemStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2-5-20
Operating System: SolarisBinaries Origin: CVS / Self compiled
CPU type: Sparc

Wed 05 May 2004 07:50:26 PM UTC, comment #1:

Patch 3016 should fix this

spiralvoice <spiralvoice>
Project Administrator
Tue 04 May 2004 08:58:25 PM UTC, original submission:

Overall, mldonkey compiles and installs very cleanly on Solaris, but there are two minor portability problems.

1) The src/utils/lib/autoconf.ml.new.in does not end with a newline. This causes the Solaris sed (which only deals with complete lines) to remove the last line when generating the autoconf.ml file, giving a file which does not compile. Simply adding a newline after the last line in the .in file fixes the problem.

2) The install target in Makefile uses "test -e" to see if various binaries have been compiled. -e is a GNU extension which does not exist in Solaris test. However, using the standard -f switch will work just as well since the binaries are known to be regular files (not directories or device nodes) if they exist. Changing all "test -e" to "test -f" in config/Makefile.in fixes the problem.

// Marcus

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 22 Jul 2004 11:48:49 PM UTCspiralvoiceStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1