sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.
Modify

Opened 14 years ago

Closed 13 years ago

Last modified 10 years ago

#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 Frank Siegert)

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)

makelog.log (679.7 KB) - added by Generic User (don't modify these fields) 14 years ago.
Log file from the make step while installing Sherpa

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 years ago by Frank Siegert

Description: modified (diff)

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.

Changed 14 years ago by Generic User (don't modify these fields)

Attachment: makelog.log added

Log file from the make step while installing Sherpa

comment:2 Changed 14 years ago by Generic User (don't modify these fields)

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 Frank Siegert

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 Frank Siegert

Milestone: rel-1.2.3

comment:5 Changed 14 years ago by Frank Siegert

Owner: changed from support@sherpa-mc.de to hoeth

comment:6 Changed 13 years ago by hoeth

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 13 years ago by hoeth

Resolution: invalid
Status: newclosed

Can't reproduce and user didn't reply anymore, so I close this.

comment:8 Changed 10 years ago by Stefan Hoeche

Milestone: rel-1.2.3

Milestone rel-1.2.3 deleted

Modify Ticket

Change Properties
Action
as closed The owner will remain hoeth.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.