Re: [Qemu-devel] configure flag for compilation question..

2006-10-16 Thread Ishwar Rattan
On Fri, 13 Oct 2006, Ben Taylor wrote: Manually add "-L/usr/local/lib -R/usr/local/lib" to the Makefile for the link phase so it will correctly add those paths to the library lookup. If I had a code base to look at this instance, I could tell you where. You could also add those flags to Make

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ben Taylor wrote: > Martin Bochnig <[EMAIL PROTECTED]> wrote: > > >>Ben Taylor wrote: >> >> >> >>> Ishwar Rattan <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>> Trying to compile qemu on amd64 based Solaris. I do not have write permission to /usr/local subtree >

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ben Taylor wrote: > Ishwar Rattan <[EMAIL PROTECTED]> wrote: > > >>On Fri, 13 Oct 2006, Martin Bochnig wrote: >> >> >> >>>Ishwar Rattan wrote: >>> >>> >>> >>>Where is the problem 64bit versus 32bit ? >>>(32 bit version of libSDL-1.2.so.0 found while amd64 64bit version needed?) >>

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ben Taylor
Ishwar Rattan <[EMAIL PROTECTED]> wrote: > > > On Fri, 13 Oct 2006, Martin Bochnig wrote: > > > Ishwar Rattan wrote: > > > >> > > Where is the problem 64bit versus 32bit ? > > (32 bit version of libSDL-1.2.so.0 found while amd64 64bit version needed?) > > (should go under /usr/local/lib/a

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ben Taylor
Martin Bochnig <[EMAIL PROTECTED]> wrote: > Ben Taylor wrote: > > > Ishwar Rattan <[EMAIL PROTECTED]> wrote: > > > > > >>Trying to compile qemu on amd64 based Solaris. > >> > >>I do not have write permission to /usr/local subtree > >> > >>./configure --libdir=other-path --prefix=not-

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ben Taylor wrote: > Martin Bochnig <[EMAIL PROTECTED]> wrote: > > >>Ben Taylor wrote: >> >> >> >>>As Martin indicated, setting LD_LIBRARY_PATH may get you a running >>>binary, but LD_LIBRARY_PATH is the wrong answer for Solaris. >>> >>> >>> >>> >>> >>My answer had been a bit long

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ben Taylor
Martin Bochnig <[EMAIL PROTECTED]> wrote: > Ben Taylor wrote: > > >As Martin indicated, setting LD_LIBRARY_PATH may get you a running > >binary, but LD_LIBRARY_PATH is the wrong answer for Solaris. > > > > > > > > My answer had been a bit longer: > > "Read ld.so.1(1) > i.e. > # man ld.s

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ben Taylor wrote: >As Martin indicated, setting LD_LIBRARY_PATH may get you a running >binary, but LD_LIBRARY_PATH is the wrong answer for Solaris. > > > My answer had been a bit longer: "Read ld.so.1(1) i.e. # man ld.so.1 Then: *One* option is to set $LD_LIBRARY_PATH (or potentially $LD_LIBR

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ishwar Rattan wrote: > > Also, I downloaded the SDL-1.2.11 source from opensolaris.org download > page. I can't figure out how to apply the 64bit patch (patch rejects > the diffs, a visual inspection shows that patch is already applied to the > source?) > > -ishwar Manually applying a patch wil

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ishwar Rattan
On Fri, 13 Oct 2006, Martin Bochnig wrote: In particular not for 64bit_amd64. You will hardly be able to meet the required dependencies. I'm leaving over the weekend now, much luck with it. Well, the source compiled after LD_LIBRARY_PATH trick with correct libSDL dependency, ldd shows this

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ben Taylor wrote: > Ishwar Rattan <[EMAIL PROTECTED]> wrote: > > >>Trying to compile qemu on amd64 based Solaris. >> >>I do not have write permission to /usr/local subtree >> >>./configure --libdir=other-path --prefix=not-ustlocal >>is fine >>but make always generates binaries that want to

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ben Taylor
Ishwar Rattan <[EMAIL PROTECTED]> wrote: > > Trying to compile qemu on amd64 based Solaris. > > I do not have write permission to /usr/local subtree > > ./configure --libdir=other-path --prefix=not-ustlocal > is fine > but make always generates binaries that want to find > /usr/local/lib/

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ben Taylor
Ishwar Rattan <[EMAIL PROTECTED]> wrote: > > Trying to compile qemu on amd64 based Solaris. > > I do not have write permission to /usr/local subtree > > ./configure --libdir=other-path --prefix=not-ustlocal > is fine > but make always generates binaries that want to find > /usr/local/lib/

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ishwar Rattan wrote: > > > On Fri, 13 Oct 2006, Martin Bochnig wrote: > >> Ishwar Rattan wrote: >> >>> >> Where is the problem 64bit versus 32bit ? >> (32 bit version of libSDL-1.2.so.0 found while amd64 64bit version >> needed?) >> (should go under /usr/local/lib/amd64/libSDL-1.2.so.0) > > Well,

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ishwar Rattan
On Fri, 13 Oct 2006, Martin Bochnig wrote: Ishwar Rattan wrote: Where is the problem 64bit versus 32bit ? (32 bit version of libSDL-1.2.so.0 found while amd64 64bit version needed?) (should go under /usr/local/lib/amd64/libSDL-1.2.so.0) Well, the problem is I do not root privileges so can

Re: [Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Martin Bochnig
Ishwar Rattan wrote: > > Trying to compile qemu on amd64 based Solaris. > > I do not have write permission to /usr/local subtree > > ./configure --libdir=other-path --prefix=not-ustlocal > is fine > but make always generates binaries that want to find > /usr/local/lib/libSDL-1.2.so.0 etc. (checked

[Qemu-devel] configure flag for compilation question..

2006-10-13 Thread Ishwar Rattan
Trying to compile qemu on amd64 based Solaris. I do not have write permission to /usr/local subtree ./configure --libdir=other-path --prefix=not-ustlocal is fine but make always generates binaries that want to find /usr/local/lib/libSDL-1.2.so.0 etc. (checked with ldd). What is the way out for