PATCH: Solaris/Sparc patch against yesterdays' BGR CVS update
Quoted 9 lines · ---- Ben Pfaff
Quoted 2 lines · Ben Taylor
Enclosed is the latest version of the qemu solaris/sparc patch, applied against yesterday's CVS (post BGR update).
I'm happy to say that this patch makes qemu compile and work on Solaris quite nicely for me. I did have to invoke configure with "--extra-ldflags=-lsocket" (and fix configure to put $LDFLAGS in the libSDL probing commands).
Odd. It may have something to do with your localized copy of libSDL. The one from blastwave doesn't require -lsocket. I've been using a version of these patches for a year, and never ran into that problem.
Quoted 3 lines
I also had to override the
configure script's desire to use/usr/ucb/installinstead of GNU install.
The configure script wants to use ginstall, assuming you've got it in your path. I did not use "install" because there are several variations of install on Solaris, and configure is coded to make sure you don't use them.
It recommends /usr/ucb/install if you don't have GNU install (or it can't find it because it's looking for ginstall). I'll have to check the logic to make sure
Quoted 3 lines
The former won't let me install without being root, because it wants to install everything as a "staff" account; the latter will.
That's a localized configuration requirement you have, and that configure should probably not try to take into account.
Quoted 2 lines
Thanks for making this work!
You're welcome.
Ben
Quoted 6 lines · Ben Taylor
Quoted 5 lines · ---- Ben Pfaff
Quoted 2 lines · Ben Taylor
Enclosed is the latest version of the qemu solaris/sparc patch, applied against yesterday's CVS (post BGR update).
Quoted 8 lines
Quoted 4 lines
I'm happy to say that this patch makes qemu compile and work on Solaris quite nicely for me. I did have to invoke configure with "--extra-ldflags=-lsocket" (and fix configure to put $LDFLAGS in the libSDL probing commands).
Odd. It may have something to do with your localized copy of libSDL. The one from blastwave doesn't require -lsocket. I've been using a version of these patches for a year, and never ran into that problem.
For what it's worth, I installed libSDL 1.2.9 from the upstream .tar.gz without any special configuration options.
Quoted 10 lines
Quoted 3 lines
I also had to override the
configure script's desire to use/usr/ucb/installinstead of GNU install.The configure script wants to use ginstall, assuming you've got it in your path. I did not use "install" because there are several variations of install on Solaris, and configure is coded to make sure you don't use them.
It recommends
/usr/ucb/installif you don't have GNU install (or it can't find it because it's looking for ginstall). I'll have to check the logic to make sure
Ah, I see. I thought that it was complaining that the default "install" was not the UCB install. In the future I'll know to just give it the GNU version up front.
Quoted 6 lines
Quoted 3 lines
The former won't let me install without being root, because it wants to install everything as a "staff" account; the latter will.
That's a localized configuration requirement you have, and that configure should probably not try to take into account.
I'm not sure that installing as non-root is all that localized a requirement, but I'm easily able to work around it so it doesn't bother me that much.
Signature · 3 lines
"Then, I came to my senses, and slunk away, hoping no one overheard my thinking." --Steve McAndrewSmith in the Monastery