SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It looks like I have to recompile php to include the pear extensions I need but how can I tell what all configure switches were used to compile the original Slackware php package
Grab yourself the original Slackbuild script used to build the package. It will be on your installation media in the sources (DVD) or on any mirror that holds your version of Slack, or get one from slackbuilds.org.
Modify the original, adding the extra flags you need, and rebuild.
Ok, I didn't realize the slack source was made from slackbuild scripts.
So I downloaded php and added the --with-gd at the end of the configure, then it needed alpine so I downloaded it and its compiling now.
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
looks like something to do with imap-ssl which I shouldn't need, trying without.
took out both --with-imap options and got this far
configure: error: libXpm.(a|so) not found.
which says I need libXpm
which needs xorg-macros
I'm not finding either of these on slackware or slackbuilds so I wonder how the original slackbuild worked, or maybe these are not needed without GD which is why GD was not included.
documenting in case anyone else ever tries.
How did you get it to install? Mine says that extension is missing and stops.
even the php that came with slack doesn't look right, I started up apache and I get the listing of the php source when I browse to it instead of it actually running it.
pear install Image_Color-1.0.4
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
pear/Image_Color requires PHP extension "gd"
No valid packages found
install failed
OK, I need to back up a step, I see gd.so but libX11.so.6 is missing. I did an install all of slack so I need to see where to find that.
Note I'm not running the exact same Slack version as you, but above, you can see the package that your (apparently) missing thing comes from. With a full install however, you shouldn't be missing this.
@enine: It really looks like your Slackware installation is not complete then...
I did that test a few posts back on a clean box, fresh, full, stock Slackware 13.1 installation.
Run that 'grep' line GrapefruiTgirl posted and tell us the result.
I don't know what happened, others seem missing as well, guessing maybe I missed a section during the install or something, I reinstalled the whole thing again.
Yes, worked fine after a reinstall, I don't know how I missed those packages the first time.
I still have the same php problem though but its unrelated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.