#95 closed defect (invalid)
Can't install on Mac OSX 10.6.4
Reported by: | Generic User (don't modify these fields) | Owned by: | hoeth |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Unknown | Version: | 1.2.2 |
Keywords: | installation, mac | Cc: | avery@phys.ufl.edu |
Description (last modified by )
I am unable to install Sherpa on my Mac running Mac OSX 10.6.4. It has the standard gfortran and g++ compiler and linker tools that come with the system and I have installed many other physics packages previously with no problem.
I use the following configure string (executed from a build directory parallel to the directory containing the configure file).
../SHERPA-MC-1.2.2/configure --prefix=/Users/avery/analysis/sherpa/install_1.2.2
But I get the error message towards the end of the "make" step.
Undefined symbols: "_MAIN__", referenced from: flat_namespace undefines in libSherpaMain.dylib ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [Sherpa] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I thought that perhaps the installation was not using 64 bit consistently, so I tried
../SHERPA-MC-1.2.2/configure --prefix=/Users/avery/analysis/sherpa/install_1.2.2 --enable-static CXXFLAGS=-m64 CFLAGS=-m64 FCFLAGS=-m64 FFLAGS=-m64
But the error condition is identical. I've had no problem installing Sherpa on a 64-bit AMD system running SL5 at work. Any help would be appreciated. I could not attach the log file created during the make step because the attachment max is 256K.
Attachments (1)
Change History (9)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|
Changed 15 years ago by
Attachment: | makelog.log added |
---|
Log file from the make step while installing Sherpa
comment:2 Changed 15 years ago by
Cc: | avery@phys.ufl.edu added |
---|
My new comment was lost when I did the attachment, though the attachment seems to have worked. Note that the make process fails at the "Making all in Run" step after successfully executing a large number of compiles.
Thanks, Paul Avery avery@phys.ufl.edu
comment:3 Changed 14 years ago by
Hi Paul,
sorry for the delay, I've been trying to reproduce this on the only MacOS machine which I have access to, but something seems to be wrong with the system libraries there, unrelated to this issue.
I don't have any experience with Mac's myself, so I'm afraid I won't be of much help. In acinclude.m4 we have a special line for MacOS:
-dynamic -flat_namespace
Maybe it helps to play with that? After changing this it's necessary to run
autoreconf -fi
before configure and make though. Don't know whether this is available on your Mac?
I'll let you know if I come up with any better ideas.
In any case, thanks for letting us know about the issue.
Cheers,
Frank
comment:4 Changed 14 years ago by
Milestone: | → rel-1.2.3 |
---|
comment:5 Changed 14 years ago by
Owner: | changed from support@sherpa-mc.de to hoeth |
---|
comment:6 Changed 14 years ago by
Could you please try this tarball: http://users.hepforge.org/~hoeth/SHERPA-MC-1.2.2a.tar.bz2 and report if it fixes the problem?
Thanks,
Hendrik
comment:7 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Can't reproduce and user didn't reply anymore, so I close this.
Dear user,
I have increased the maximum allowed attachment size to 2560K. If you gzip the log file it should be smaller than that, I hope? If so, it would be useful if you could attach it now.
Cheers, Frank
PS: You might want to add your email address to CC such that you get notified about updates on this ticket.