Opened 15 years ago

Closed 15 years ago

#20822 closed defect (invalid)

shogun 0.8 fails to build

Reported by: mf2k (Frank Schima) Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: shogun

Description

Mac OS X 10.5.8 Intel. Xcode 3.1.3.

--->  Computing dependencies for shogun
--->  Fetching shogun
--->  Attempting to fetch shogun-0.8.0.tar.bz2 from http://distfiles.macports.org/shogun
--->  Verifying checksum(s) for shogun
--->  Extracting shogun
--->  Configuring shogun
--->  Building shogun
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_math_shogun/work/shogun-0.8.0/src" && /usr/bin/make -j5 all " returned error 2
Command output:       CGUIClassifier::new_classifier(char*, int, int) in GUIClassifier.cpp.o
  "CPlifMatrix::set_plif_min_values(double*, int)", referenced from:
      CSGInterface::cmd_set_plif_struct()       in SGInterface.cpp.o
  "CDynProg::get_states(int**, int*, int*)", referenced from:
      CSGInterface::cmd_best_path_trans()       in SGInterface.cpp.o
  "CDynProg::get_path_losses(double**, int*)", referenced from:
      CSGInterface::cmd_best_path_trans_deriv()       in SGInterface.cpp.o
  "CPlifMatrix::set_plif_names(T_STRING<char>*, int, int)", referenced from:
      CSGInterface::cmd_set_plif_struct()       in SGInterface.cpp.o
  "CIntronList::read_introns(int*, int*, int*, int)", referenced from:
      CSGInterface::cmd_init_intron_list()       in SGInterface.cpp.o
  "CDynProg::get_positions(int**, int*, int*)", referenced from:
      CSGInterface::cmd_best_path_trans()       in SGInterface.cpp.o
  "CDynProg::best_path_trans_deriv(int*, int*, int, double const*, int)", referenced from:
      CSGInterface::cmd_best_path_trans_deriv()       in SGInterface.cpp.o
  "CIntronList::CIntronList()", referenced from:
      CSGInterface::cmd_init_intron_list()       in SGInterface.cpp.o
  "CSVM::compute_svm_primal_objective()", referenced from:
      CSGInterface::do_compute_objective(E_WHICH_OBJ)        in SGInterface.cpp.o
      CSGInterface::do_compute_objective(E_WHICH_OBJ)        in SGInterface.cpp.o
      CSGInterface::do_compute_objective(E_WHICH_OBJ)        in SGInterface.cpp.o
  "CMKLOneClass::CMKLOneClass(CSVM*)", referenced from:
      CGUIClassifier::new_classifier(char*, int, int) in GUIClassifier.cpp.o
  "CDynProg::get_scores(double**, int*)", referenced from:
      CSGInterface::cmd_best_path_trans()       in SGInterface.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [libshogunui.2.0.dylib] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

Error: Unable to upgrade port: 1

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Note, I am attempting to upgrade the port:

$ port installed shogun
The following ports are currently installed:
  shogun @0.7.3_0+glpk+python (active)

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

The problem occurred because the variants changed. I deactivated my current port and installed as follows:

sudo port install shogun +python25 +no_python26

I consider this a non-bug.

Note: See TracTickets for help on using tickets.