Issue Details (XML | Word | Printable)

Key: MODPYTHON-80
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jim Gallacher
Reporter: Jim Gallacher
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

Compile problem on IRIX

Created: 16/Sep/05 10:27 PM   Updated: 05/Mar/06 02:30 PM
Return to search
Component/s: core
Affects Version/s: 3.1.3, 3.1.4, 3.2.7
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Environment: Sgi IRIX 6.5.28

Resolution Date: 22/Oct/05 03:56 PM


 Description  « Hide
Sgi IRIX 6.5.28
Originally reported by Zach McDanel:

Python 2.4.1, removed a reference in makefile to libmpc cause it was causing problems with mod_python compile and Apache 2.0.54
mod_python 3.1.4

this is the error I'm getting, I tracked down that it occurs in dist/Makefile

       ln -s ../lib/python/mod_python
Insufficient arguments
Usage: ln [-fis] file1 file2
       ln [-fis] file1 ... file2 dir
*** Error code 2 (bu21)
*** Error code 1 (bu21)

Further correspondence with Zach confirms that the behaviour of ln on IRIX is different than Linux or FreeBSD.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Gallacher added a comment - 16/Sep/05 10:28 PM
The fix is trivial. I'll commit the changes.

Index: dist/Makefile.in
===================================================================
--- dist/Makefile.in (revision 280687)
+++ dist/Makefile.in (working copy)
@@ -44,10 +44,10 @@
        exit 1

 mod_python:
- ln -s ../lib/python/mod_python
+ ln -s ../lib/python/mod_python mod_python

 src:
- ln -s ../src
+ ln -s ../src src

 clean:
        rm -rf mod_python build dist

Jim Gallacher made changes - 17/Sep/05 12:01 AM
Field Original Value New Value
Assignee Jim Gallacher [ jgallacher ]
Repository Revision Date User Message
ASF #321360 Sat Oct 15 15:43:35 UTC 2005 jgallacher Fixed dist/Makefile so it works on IRIX. The ln command in linux and bsd has the format
ln [OPTION]... TARGET [LINK_NAME]
where LINK_NAME is option. On IRIX, LINK_NAME is required. The fix is trivial - explicitly
give the LINK_NAME wherever "ln -s" is used.
Ref MODPYTHON-80
Files Changed
MODIFY /httpd/mod_python/trunk/dist/Makefile.in

Nicolas Lehuen added a comment - 22/Oct/05 03:56 PM
Resolved by Jim.

Nicolas Lehuen made changes - 22/Oct/05 03:56 PM
Resolution Fixed [ 1 ]
Fix Version/s 3.2 [ 11060 ]
Status Open [ 1 ] Resolved [ 5 ]
Graham Dumpleton made changes - 05/Mar/06 02:30 PM
Status Resolved [ 5 ] Closed [ 6 ]