From: SourceForge.net <no...@so...> - 2006-11-23 11:27:27
|
Bugs item #1387998, was opened at 2005-12-22 13:52 Message generated for change (Comment added) made by chfl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=744811&aid=1387998&group_id=139893 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: autotools compilation Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: t_aho (t_aho) Assigned to: Nobody/Anonymous (nobody) Summary: getopt and Solaris 9 Initial Comment: getopt cannot be found automatically in Solaris 9. sbmlsolver/SBML_odeSolver-1.6.0> make ... options.c:7:20: getopt.h: No such file or directory ... getopt has problems with portability. See e.g. http://www.thedotin.net/maillists/coldsync-hackers/msg01314.html Here is a workaround: Download the needed getopt files, e.g. from http://www.molpopgen.org/krthornt/gccSolaris/ Compile them sbmlsolver/SBML_odeSolver-1.6.0/odeSolver> gcc --pedantic -c getopt.c sbmlsolver/SBML_odeSolver-1.6.0/odeSolver> gcc --pedantic -c getopt1.c Add the created object files to the linking by modifying odeSolver/Makefile and odeSolver/Makefile.in: am_odeSolver_OBJECTS = main.$(OBJEXT) commandLine. $(OBJEXT) \ options.$(OBJEXT) printModel.$(OBJEXT) interactive.$(OBJEXT) \ getopt1.$(OBJEXT) getopt.$(OBJEXT) ---------------------------------------------------------------------- >Comment By: Christoph Flamm (chfl) Date: 2006-11-23 12:27 Message: Logged In: YES user_id=1113720 Originator: NO added gnu getopt long source for compatibility reasons with solaris. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=744811&aid=1387998&group_id=139893 |