Opened 12 years ago

Closed 12 years ago

#37277 closed defect (duplicate)

shogun: Undefined symbols: __gfortran_compare_string __gfortran_concat_string

Reported by: claire.zaidi@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: shogun

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

I am trying to install SHOGUN with Moutain Lion 10.8.2, MacPorts 2.1.2, Xcode 4.5.2, python27. I followed the instructions:

sudo port selfupdate
sudo port install swig -php5 -ruby -perl +python
sudo port install shogun

I saw that I am not the only one to have this problem but don't find the solution.

Here is the error (I attach the log file)

--->  Computing dependencies for shogun
--->  Fetching archive for shogun
--->  Attempting to fetch shogun-0.9.3_0+gcc45.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/shogun
--->  Attempting to fetch shogun-0.9.3_0+gcc45.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/shogun
--->  Attempting to fetch shogun-0.9.3_0+gcc45.darwin_12.x86_64.tbz2 from http://packages.macports.org/shogun
--->  Fetching distfiles for shogun
--->  Verifying checksum(s) for shogun
--->  Extracting shogun
--->  Applying patches to shogun
--->  Configuring shogun
--->  Building shogun

Error: org.macports.build for port shogun returned: command execution failed
Please see the log file for port shogun for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_shogun/shogun/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port shogun failed

Thanks

Attachments (1)

main.log (303.8 KB) - added by claire.zaidi@… 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by claire.zaidi@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: moutain lion removed
Summary: problems installing SHOGUN with Moutain Lionshogun: Undefined symbols: __gfortran_compare_string __gfortran_concat_string

The log says:

:info:build Undefined symbols for architecture x86_64:
:info:build   "__gfortran_compare_string", referenced from:
:info:build       _ilaenv_ in liblapack.a(ilaenv.o)
:info:build   "__gfortran_concat_string", referenced from:
:info:build       _dgesvd_ in liblapack.a(dgesvd.o)
:info:build       _dormbr_ in liblapack.a(dormbr.o)
:info:build       _dormlq_ in liblapack.a(dormlq.o)
:info:build       _dormqr_ in liblapack.a(dormqr.o)
:info:build ld: symbol(s) not found for architecture x86_64

We should probably start by trying to update shogun to 2.0.0 and then see where we are.

comment:2 Changed 12 years ago by claire.zaidi@…

I am trying to update to shogun 2.0.0, but for instance it fails... I downloaded the portfile and protfile.2. When updating macports I still have shogun 0.9.3.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

To test a Portfile attached to a ticket, you must

  • download the file
  • if necessary rename it so that its name is exactly "Portfile"
  • cd to the directory you put it in
  • type sudo port install (without specifying a port name)

comment:4 Changed 12 years ago by claire.zaidi@…

ok ! Sorry... I was doing "sudo port install shogun". Now, it seems to work.

Thanks

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jameskyle@…

Please remember to Cc the maintainer.

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.