raydona Posted May 22, 2009 Share Posted May 22, 2009 Hi, Please bear with me as I am completely new to all this. I have installed an application called antiword on Apache/1.3.33 Server to convert Word docs to text documents. The app was in tar.gz form. I used php to decompress the file. What do I do after that? I wish to get to the exe (Setup) file. I have read on other web sites that I should compile the uncompressed app. How do I do that using PHP? I would be grateful for all suggestions. Quote Link to comment https://forums.phpfreaks.com/topic/159283-what-to-do-after-uncompressing-targz-application/ Share on other sites More sharing options...
corbin Posted May 22, 2009 Share Posted May 22, 2009 PHP can't compile anything except PHP code (and that it sort of compiles). Anyway, you will first need to make sure it can be compiled on your OS. (I'm going to assume it's some Linux distro.) Then, you'll need to get into terminal (through something like Putty over SSH if it's a remote server, or just open terminal if it's your local computer). Then you'll just need to read the README and see what it says. If I had to guess, I would guess: ./configure make make install Quote Link to comment https://forums.phpfreaks.com/topic/159283-what-to-do-after-uncompressing-targz-application/#findComment-840162 Share on other sites More sharing options...
trq Posted May 22, 2009 Share Posted May 22, 2009 Might I also suggest using your OS's package manager to install this application. Linux distro's these days all come with some sort of package management system designed to manage packages. If you install using your package manager it will take care of all the applications dependencies for you which can otherwise be a pain at times when compiling things yourself. Quote Link to comment https://forums.phpfreaks.com/topic/159283-what-to-do-after-uncompressing-targz-application/#findComment-840285 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.