Compiling on OS X

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Compiling on OS X

Post by austin987 »

Howdy,

Anyone building vanilla Wine on OS X? I've installed Xcode as well as
X11, but still get quite a few configure errors:

configure: libhal development files not found, no dynamic device support.
configure: libgnutls development files not found, no schannel support.
configure: libsane development files not found, scanners won't be supported.
configure: libgphoto2 development files not found, digital cameras
won't be supported.
configure: liblcms development files not found, Color Management won't
be supported.
configure: libcapi20 development files not found, ISDN won't be supported.

configure: WARNING: libjpeg development files not found, JPEG won't be
supported.

configure: WARNING: libpng development files not found, PNG won't be supported.

configure: Finished. Do 'make depend && make' to compile Wine.


I've installed fink to get a few of the packages , but configure isn't
picking them up. Tried fooling around with PATH/LDFLAGS/etc., but
haven't had any luck yet...

--
-Austin
uxp
Newbie
Newbie
Posts: 1
Joined: Tue Nov 18, 2008 8:18 pm

Post by uxp »

I've just re-installed OS X, and am trying to get the Vanilla WINE all set up. (I've had issues with Fink and Mac/Darwinports on previous attempts, besides Compiling is fun :) )

When you get these errors, or warnings, basically you _can_ go ahead and do a make depend && make && make install, which will create a working Wine installation, but without some things that you probably want. Long story, it wont work properly.

Basically, do a google search of the libraries, find their source, and then do

Code: Select all

curl -O http://path/to/some/library/
tar [xzvf|xjvf] library-archive.tar[.gz|.bz2]
cd library-directory/

./configure
make
sudo make install
which will install them, and get everything running all dandy. The two Most Important ones to get correct are libpng and libjpeg. If you arent going to be running cameras/scanners then obviously you can omit libphoto2 and libsane.

And as a Side remark, I recommend installing into "/usr/local" you can check that by typing

Code: Select all

./configure --help
after you untar the archive and look for the "--prefix=PREFIX " output, which will tell you the path that "make install" will follow. If for some reason it doesnt want to go there, then you can configure the installation by

Code: Select all

./configure --prefix=/usr/local/
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Compiling on OS X

Post by austin987 »

On Tue, Nov 18, 2008 at 7:32 PM, uxp <[email protected]> wrote:
I've just re-installed OS X, and am trying to get the Vanilla WINE all set up. (I've had issues with Fink and Mac/Darwinports on previous attempts, besides Compiling is fun :) )

When you get these errors, or warnings, basically you _can_ go ahead and do a make depend && make && make install, which will create a working Wine installation, but without some things that you probably want. Long story, it wont work properly.

Basically, do a google search of the libraries, find their source, and then do

Code:
curl -O http://path/to/some/library/
tar [xzvf|xjvf] library-archive.tar[.gz|.bz2]
cd library-directory/

./configure
make
sudo make install

I've done this for most of the dependencies, but getting a lot of
these to compile on OS X is an exercise in masochism.
which will install them, and get everything running all dandy. The two Most Important ones to get correct are libpng and libjpeg. If you arent going to be running cameras/scanners then obviously you can omit libphoto2 and libsane.
How did you get libjpeg installed? configure refuses to recognize it for me.

--
-Austin
Zach
Level 2
Level 2
Posts: 32
Joined: Tue May 06, 2008 8:09 pm

Compiling on OS X

Post by Zach »

On Nov 19, 2008, at 5:25 PM, Austin English wrote:
On Tue, Nov 18, 2008 at 7:32 PM, uxp <[email protected]>
wrote:
I've just re-installed OS X, and am trying to get the Vanilla WINE
all set up. (I've had issues with Fink and Mac/Darwinports on
previous attempts, besides Compiling is fun :) )

When you get these errors, or warnings, basically you _can_ go
ahead and do a make depend && make && make install, which will
create a working Wine installation, but without some things that
you probably want. Long story, it wont work properly.

Basically, do a google search of the libraries, find their source,
and then do

Code:
curl -O http://path/to/some/library/
tar [xzvf|xjvf] library-archive.tar[.gz|.bz2]
cd library-directory/

./configure
make
sudo make install

I've done this for most of the dependencies, but getting a lot of
these to compile on OS X is an exercise in masochism.
which will install them, and get everything running all dandy. The
two Most Important ones to get correct are libpng and libjpeg. If
you arent going to be running cameras/scanners then obviously you
can omit libphoto2 and libsane.
How did you get libjpeg installed? configure refuses to recognize it
for me.
I believe all i had to do was:

curl -LO http://www.ijg.org/files/jpegsrc.v6b.tar.gz
./configure
make all
sudo make install install-lib

-Zach
Locked