Mac OSX build instructions #25

Closed
Thunor opened this Issue Apr 8, 2011 · 10 comments

Comments

Projects
None yet
8 participants

Thunor commented Apr 8, 2011

The instructions don't work.

From the install page:

Install XCode.
Install MacPorts
Run from a terminal window:
sudo port install fltk glut libconfig-hr boost
Acquire source and compile:
git clone git://github.com/timschmidt/repsnapper.git
cd repsnapper/src
make

Which results in:

make: *** No targets specified and no makefile found. Stop.

Will renaming the makefile work?

Collaborator

mmeeks commented Apr 8, 2011

Ah ! this needs patching :-) sorry about that. Still, I don't have a Mac to test it with, could you try:

sudo port install gtkglext gtkmm glut boost
./autogen.sh
make

instead ? :-) we now use a (standard) autotools configure script, and we use gtk+ & gtk-- instead of fltk, and we dropped libconfig support

Thunor commented Apr 8, 2011

Thanks, I will try that when I get home tonight.

Eric

josh13 commented Apr 8, 2011

I had the same issue, after figuring that out. The README tell sthe correct commans. I get the following problem regarding libreprap:

configure: error: cannot find headers for libreprap

where do I have to put those?

Josh

Collaborator

mmeeks commented Apr 9, 2011

Ah - good point; you need to check out and install libreprap:
git clone https://github.com/Ralith/libreprap.git

Collaborator

elmom commented Apr 10, 2011

These instructions wouldn't work for current master at least, since the
build infrastructure is different than in the release branches. What
branch are you using?

On 04/08/2011 03:38 AM, Thunor wrote:

The instructions don't work.

From the install page:

Install XCode.
Install MacPorts
Run from a terminal window:
sudo port install fltk glut libconfig-hr boost
Acquire source and compile:
git clone git://github.com/timschmidt/repsnapper.git
cd repsnapper/src
make

Which results in:

make: *** No targets specified and no makefile found. Stop.

Will renaming the makefile work?

Collaborator

mmeeks commented Apr 11, 2011

I'm building on Linux; so - what we need to do is to work out what the names of the dependencies are on OSX - so we can update the install instructions; eg. the autoconf / automake requirements - what are their names in ports ?

on osx: ./autogen.sh make
results in following error:
aclocal: couldn't open directory `./m4/mac': No such file or directory

using origin/master from git

what am i missing?

I am getting the same on OSX as above, any solutions out there for OSX compiling

alexrj commented Jul 7, 2011

I was able to go on by changing this line in autoconf.sh:

ACLOCAL_FLAGS="-I ./m4/mac"

to:

ACLOCAL_FLAGS=""

I also had to change this line in configure.ac:

C_CHECK_HEADER(GL/glut.h,

to

C_CHECK_HEADER(GLUT/glut.h,
Collaborator

thaytan commented Nov 30, 2011

Let's track this in Issue #38 #38

@thaytan thaytan closed this Nov 30, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment