SDL on Knoppix

Greets, I’m an Mac OS X/SDL developer whose decided to branch out into
Linux after hitting far too many obstacles trying to dev for Win2k using
MinGW…

So, I’m a newbie to Knoppix, but I’ve found it a pretty easy dev
platform for pure C/C++ (via KDevelop) and Pascal (via FreePascal), and
I’ve just dl’d the RPMs and sources for SDL; I’ve been unable to install
the RPMs using KPackage as I don’t know the root password (although “su
root” doesn’t ask for the password???), so I’m trying to compile SDL
from scratch…

I’ve followed the rather terse instructions and have been able to get as
far as “configure; make”; but the “make install” command tries to
install stuff in “/usr/” which it unfortunately can’t as that is on the
Knoppix CD… is there any way to redirect the installation performed by
"make install" to “/mnt/hda1/” rather than “/usr/”? I’ve tried looking
at the help files for “make install”, but there doesn’t seem to be
anything relevant…

Thanks,

Mark--

“Opportunity is missed by most people because it is dressed in overalls
and looks like work.”
~Thomas Edison

In the future, such questions should be directed towards Knoppix help
channels.

There is no root password for knoppix.
to have configure changed the prefix do
./configure --prefix=/mnt/hda1On Wednesday 12 May 2004 08:05 am, Mark Bishop wrote:

Greets, I’m an Mac OS X/SDL developer whose decided to branch out into
Linux after hitting far too many obstacles trying to dev for Win2k using
MinGW…

So, I’m a newbie to Knoppix, but I’ve found it a pretty easy dev
platform for pure C/C++ (via KDevelop) and Pascal (via FreePascal), and
I’ve just dl’d the RPMs and sources for SDL; I’ve been unable to install
the RPMs using KPackage as I don’t know the root password (although “su
root” doesn’t ask for the password???), so I’m trying to compile SDL
from scratch…

I’ve followed the rather terse instructions and have been able to get as
far as “configure; make”; but the “make install” command tries to
install stuff in “/usr/” which it unfortunately can’t as that is on the
Knoppix CD… is there any way to redirect the installation performed by
"make install" to “/mnt/hda1/” rather than “/usr/”? I’ve tried looking
at the help files for “make install”, but there doesn’t seem to be
anything relevant…

Thanks,

Mark


“Opportunity is missed by most people because it is dressed in overalls
and looks like work.”
~Thomas Edison


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety. "
–Benjamin Franklin

Mark Bishop wrote:

Greets, I’m an Mac OS X/SDL developer whose decided to branch out into
Linux after hitting far too many obstacles trying to dev for Win2k using
MinGW…

So, I’m a newbie to Knoppix, but I’ve found it a pretty easy dev
platform for pure C/C++ (via KDevelop) and Pascal (via FreePascal), and
I’ve just dl’d the RPMs and sources for SDL; I’ve been unable to install
the RPMs using KPackage as I don’t know the root password (although “su
root” doesn’t ask for the password???), so I’m trying to compile SDL
from scratch…

I’ve followed the rather terse instructions and have been able to get as
far as “configure; make”; but the “make install” command tries to
install stuff in “/usr/” which it unfortunately can’t as that is on the
Knoppix CD… is there any way to redirect the installation performed by
"make install" to “/mnt/hda1/” rather than “/usr/”? I’ve tried looking
at the help files for “make install”, but there doesn’t seem to be
anything relevant…

You’ve got to use “configure --prefix=/mnt/hda1/” instead of “configure”.

Chris E.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040512/0c203802/attachment.pgp

You need to change it at the configure step. Use: “./configure
–prefix=/mnt/hda1”.On Wednesday 12 May 2004 9:05 am, Mark Bishop wrote:

Greets, I’m an Mac OS X/SDL developer whose decided to branch out into
Linux after hitting far too many obstacles trying to dev for Win2k using
MinGW…

So, I’m a newbie to Knoppix, but I’ve found it a pretty easy dev
platform for pure C/C++ (via KDevelop) and Pascal (via FreePascal), and
I’ve just dl’d the RPMs and sources for SDL; I’ve been unable to install
the RPMs using KPackage as I don’t know the root password (although “su
root” doesn’t ask for the password???), so I’m trying to compile SDL
from scratch…

I’ve followed the rather terse instructions and have been able to get as
far as “configure; make”; but the “make install” command tries to
install stuff in “/usr/” which it unfortunately can’t as that is on the
Knoppix CD… is there any way to redirect the installation performed by
"make install" to “/mnt/hda1/” rather than “/usr/”? I’ve tried looking
at the help files for “make install”, but there doesn’t seem to be
anything relevant…

Thanks,

Mark


“Opportunity is missed by most people because it is dressed in overalls
and looks like work.”
~Thomas Edison


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Thanks for the info! (I stand corrected; I assumed that since the query
pertained to files within the SDL distro, it should go to this list.)

Thanks again,

MarkOn Wednesday, May 12, 2004, at 04:11  pm, Samuel wrote:

In the future, such questions should be directed towards Knoppix help
channels.

There is no root password for knoppix.
to have configure changed the prefix do
./configure --prefix=/mnt/hda1

On Wednesday 12 May 2004 08:05 am, Mark Bishop wrote:

Greets, I’m an Mac OS X/SDL developer whose decided to branch out into
Linux after hitting far too many obstacles trying to dev for Win2k
using
MinGW…

So, I’m a newbie to Knoppix, but I’ve found it a pretty easy dev
platform for pure C/C++ (via KDevelop) and Pascal (via FreePascal), and
I’ve just dl’d the RPMs and sources for SDL; I’ve been unable to
install
the RPMs using KPackage as I don’t know the root password (although “su
root” doesn’t ask for the password???), so I’m trying to compile SDL
from scratch…

I’ve followed the rather terse instructions and have been able to get
as
far as “configure; make”; but the “make install” command tries to
install stuff in “/usr/” which it unfortunately can’t as that is on the
Knoppix CD… is there any way to redirect the installation performed
by
"make install" to “/mnt/hda1/” rather than “/usr/”? I’ve tried looking
at the help files for “make install”, but there doesn’t seem to be
anything relevant…

Thanks,

Mark


“Opportunity is missed by most people because it is dressed in overalls
and looks like work.”
~Thomas Edison


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


"They that can give up essential liberty to obtain a little temporary
safety
deserve neither liberty nor safety. "
–Benjamin Franklin


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


“Opportunity is missed by most people because it is dressed in overalls
and looks like work.”
~Thomas Edison