Opened 15 years ago

Closed 14 years ago

#20113 closed defect (wontfix)

shogun compile failure on Tiger

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: shogun

Description

I can't compile shogun on Mac OS X 10.4.11 Intel with Xcode 2.5. It ultimately fails with

Makefile:46: *** unterminated call to function `shell': missing `)'.  Stop.

but there are a zillion errors before it; see attached log.

Attachments (1)

shogun.txt.bz2 (14.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: shogun.txt.bz2 added

comment:1 Changed 15 years ago by jameskyle@…

The only changes I make to the default build process is changing sed to gsed on the configure and specifying absolute paths for the linkers install_name.

The errors look like they happen very early:

makedepend: warning:  ./base/init.cpp (reading lib/memory.h, line 15): cannot find include file "new"
	not in ./new
	not in ../new
	not in ./new
	not in ../new
	not in /mp/include/new
	not in /mp/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/new
	not in /mp/include/new
	not in ../libshogun/new
	not in ../new
	not in /usr/local/lib/gcc-include/new
	not in /usr/include/new
makedepend: warning:  ./base/init.cpp (reading /usr/include/stdarg.h, line 4): cannot find include file "stdarg.h"

The errors look like a solid upstream problem from here and a bit too much to debug without a tiger box available to me.

Soeren is very helpful and eager for shogun to run well on osx, perhaps forwarding this upstream would do more good?

comment:2 Changed 15 years ago by jameskyle@…

Resolution: wontfix
Status: newclosed

As of this friday, tiger is no longer supported by macports.

comment:3 Changed 15 years ago by jameskyle@…

Resolution: wontfix
Status: closedreopened

But there may still be hope!

comment:4 Changed 15 years ago by jameskyle@…

Resolution: wontfix
Status: reopenedclosed

Marking as won't fix, I'll be focusing efforts on leopard and snow leopard for these ports.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: closedreopened

Fine, but please make the port output a message in the pre-fetch phase stating it requires Leopard or later, so users don't waste their time downloading and partially compiling something that won't finish. See graphviz-gui for an example of how this can be done.

comment:6 Changed 15 years ago by jameskyle@…

Resolution: fixed
Status: reopenedclosed

Message added in r59623.

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: closedreopened

The change you made in r59623 doesn't do anything. (Hint: you're checking whether the string "os.version" contains a number between 2 and 8, when you probably meant to check the variable ${os.version}.) A better solution for displaying an error message would have been to look at ${os.platform} and ${os.major}, or use a "platform darwin 8" block. But the best solution of all is to fix the build on Tiger.

The only problem I see (so far) with shogun 0.9.1 on Tiger is:

Makefile:49: *** unterminated call to function `shell': missing `)'.  Stop.

The zillion other errors before that are gone. It seems like this should be fixable, but my knowledge of Makefiles may not be sufficient. This problem should probably be reported to the developers of shogun for them to deal with.

comment:8 Changed 14 years ago by jameskyle@…

Resolution: wontfix
Status: reopenedclosed

Corrected warning to properly throw error on systems of os.major 8 or below. r69301 (patches welcome :) )

Note: See TracTickets for help on using tickets.