LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-01-2008, 05:09 PM   #1
michael philip
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Rep: Reputation: Disabled
Slackware - installing Horde - trying to add fileinfo question


I've found posts relating to a phpize failed problem when trying to run pecl or pear install fileinfo. Having this problem on both Slackware 11 and 12.1, I ended up downloading the tgz file for Fileinfo and ran installpkg on it.

The result was some kind of installation of fileinfo in its own folder on the root of the file system (i.e. /Fileinfo*).

With php, I understand that after adding extensions, it is necessary to add an include extensionname.so in the php.ini.

I am not understanding what I am doing, since there is no fileinfo.so file as a result of the fileinfo installation.

Can anyone enlighten me on this if I have made sense.

Thanks
 
Old 10-01-2008, 08:29 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
I think the file you downloaded and tried to install was a gzipped tar file and not actually a Slackware package. Slackware packages do have the extension .tgz but have a specific structure and don't generally install to the root directory.

This will happen if you try to installpkg a file that is not a Slackware package and it will mess your system up. All Slackware packages are .tgz's but not all .tgz's are Slackware packages !

You have a source tarball that you need to extract and install following the instructions on the PHP site here.

I'm afraid I know nothing of Pear/PHP but the instructions seem explanatory.

Just be sure a package is a Slackware package before installing it !
 
Old 10-02-2008, 01:22 PM   #3
michael philip
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for reply

Thank you - I removed the /fileinfo folder made during the installpkg run. Looking at the page you reference in your reply, I tried a couple of things but have for the moment given up as any solution which looked relevant did not seem to fit, e.g. one person suggests untarring the fileinfo tarball and then running ./configure make and make install, but there is no configure in the tarball, there is a config.m4 but I have no idea how to use that to install the fileinfo as a php extension, so for now I shall go on without it - the horde I am installing on a new web server installation does not require that extension, it just recommends it, so I'll see how it goes and perhaps pick up later on what is wrong with the phpize etc.
 
  


Reply

Tags
horde, phpini, phpize, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12 with Avantfax, issue with FileInfo module Cpoc Slackware 1 09-24-2007 10:21 PM
Horde memory question nyheat Linux - Software 2 01-19-2007 03:22 PM
postfix with horde - add address book feature bambo123 Linux - Software 0 12-24-2005 12:40 PM
installing turba (horde) leeman_s Linux - Software 1 03-25-2004 11:46 PM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration