Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2008 18:27:47 -0500
From:      Coleman Kane <cokane@FreeBSD.org>
To:        Chris Whitehouse <chris_whitehouse@onetel.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: sdl-1.2.11_2,2
Message-ID:  <47B8C2F3.6080408@FreeBSD.org>
In-Reply-To: <47B8B80A.7060205@onetel.com>
References:  <47B8B80A.7060205@onetel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Whitehouse wrote:
> hi,
>
> [please could you cc me as I'm not subscribed, thanks]
>
> I'm trying to install projectm (http://projectm.sourceforge.net/).
> Instructions say install sdl-1.3 due to some feature being necessary.
> Can I keep sdl-1.2 and install sdl-1.3 without them conflicting? Any
> pointers for how to do it, or an alternative approach?
>
> Thanks
>
> Chris
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>
Chris,

You could get sdl-1.3 from www.libsdl.org (I think you need to use SVN
to get it). Then, when you configure make sure you specify a special
prefix, such as:
cd sdl-1.3
./configure --prefix=/usr/local/libsdl13-root ...other args...
make
make install

Then, when you build mproject, make sure that you add
"--with-sdl-prefix=/usr/local/libsdl13-root" to the configure arguments,
to tell it where SDL 1.3 is located. When you run the program, make sure
that you set the LD_LIBRARY_PATH environment variable to
/usr/local/libsdl13-root/lib, so that it looks for the SDL libraries
there before looking in the normal library path.

HTH,

--
Coleman Kane




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B8C2F3.6080408>