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.
I am running Slackware 12.2 on my webserver and I've configured and compiled PHP from source.
I'd like to uninstall it, but there is no package. I've never tried to remove software without a package before. Do I just delete all the directories PHP is in?
Use src2pkg with the same configuration parameters that you used to build the original code; that should result in a package with the same files in it. Install the package and uninstall it.
configure with the same settings and build again before 'make uninstall'. if it fail, create /tmp/php and do 'make install DESTDIR=/tmp/php'. check it and remove the files by hand. dirty but should work...
That didn't work too well. Gives me an error that php-5.3.0.tar.gz is not a valid archive.
Code:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
FAILED!
This may be caused by a defective or non-tar archive. Exiting...
That didn't work too well. Gives me an error that php-5.3.0.tar.gz is not a valid archive.
Code:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
FAILED!
This may be caused by a defective or non-tar archive. Exiting...
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
FAILED!
This may be caused by a defective or non-tar archive. Exiting...
and deleted everything it listed, then recompiled from scratch to put all the files back with the new configuration parameters? Would that work or would it make it horribly worse?
I went through and deleted all the folders where it pointed to PHP with "whereis", deleted the php.ini file under /etc/httpd and recompiled from source. It put everything back and it runs like it should with it's new compiled configuration.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.