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

Submitter:  None
Submitted:  Tue 04 May 2004 08:58:25 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Compilation problem Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  2-5-20 Release: 
Operating System:  Solaris Binaries 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>
Group 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

 

(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

 

CC list is empty

 

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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-07-22 spiralvoice StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-aa77.
Corresponding source code