Opened 6 years ago

Last modified 5 years ago

#57454 closed defect

some kind of issue (as yet unclear) trying to build boost on an unknown system — at Version 6

Reported by: WenyiY Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: michaelld (Michael Dickens)
Port: boost

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

I met boost building issue when trying to build mlpack. So I searched online and found a similar post which has the same problem as mine, which is: https://stackoverflow.com/questions/19912862/compiling-boostprogram-options-on-mac-os-x-with-g-4-8-mac-ports

When I'm trying to do the solution the comment suggest which is compile boost by gcc48 by having the command line sudo port -ns upgrade --force boost configure.compiler=macports-gcc-4.8, but macports failed by showing the output as

--->  Computing dependencies for boost
The following dependencies will be installed:  gcc48
Continue? [Y/n]: y
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

I'm lost and don't know what to do now. Please send some help

Change History (6)

comment:1 Changed 6 years ago by kencu (Ken)

Hi. Please be clear on what your actual end goal is here, so we can help you get there.

  • What system are you on?
  • What are you trying to install?

You will most likely not get anywhere on MacPorts trying to build anything with gcc4.8, so that is not your solution.

comment:2 Changed 6 years ago by kencu (Ken)

Cc: michaelld added
Keywords: boost rebuild removed
Port: boost added
Summary: rebuild Boost with GCC-4.8some kind of issue (as yet unclear) trying to build boost on an unknown system

comment:3 Changed 6 years ago by WenyiY

Sorry for not making it clear. I am on MacOS High Sierra, and trying to build mlpack library. But when I typed make ../ for mlpack after cmake it, I'm having the same problem as shown on the link I pasted at the beginning. Which some comments under that link said it was boost issue. Change clang++ to g++ might help. I was just trying around see how to solve this "make mlpack" issue.

comment:4 Changed 6 years ago by kencu (Ken)

FYI, I just thought I'd try installing mlpack, and it seemed to install without any trouble:

sudo port -v install mlpack
$ port -v installed mlpack
The following ports are currently installed:
  mlpack @2.2.5_2 (active) platform='darwin 10' archs='x86_64' date='2018-10-26T20:59:49-0700'

comment:5 Changed 6 years ago by kencu (Ken)

To find out what MacPorts offers, you can type port search XXXX to look for some port that MacPorts offers, e.g. mlpack.

To install a port, you sudo port -v install XXXX -- whatever it is.

Then 99% of the time, your software is installed. Please try this:

sudo port -v install mlpack

and let us know how that proceeds for you.

Last edited 6 years ago by kencu (Ken) (previous) (diff)

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.