LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   'make' asks for 'target' during installation of php-5.6.13.tar.gz (https://www.linuxquestions.org/questions/linux-newbie-8/make-asks-for-target-during-installation-of-php-5-6-13-tar-gz-4175552833/)

prabhucbr 09-07-2015 09:26 AM

'make' asks for 'target' during installation of php-5.6.13.tar.gz
 
I am using Rosa R6 Desktop Fresh.

I tried installing php-5.6.13.tar.gz, first by 'tar -zxvf', followed by 'make', which eventually presented with the following message:

make: *** No targets specified and no makefile found. Stop.

In the directory, there are 5 Makefile-s with the following extensions: .frag, .fragments, .gcov, .global and .objects

Can anyone guide me to install the php successfully? Also, how can I pursue the next command, 'make install', after this command?

Thanks in advance and any help is highly appreciated.

knudfl 09-07-2015 09:48 AM

Welcome to LQ.

tar xvf php-5.6.13.tar.gz && ./configure --<the usual ~79 options> && make

php.spec : The configuring is line 875 .. 1119.
https://drive.google.com/file/d/0B7S...ew?usp=sharing
Ref. http://dl.fedoraproject.org/pub/fedo...1.fc24.src.rpm


-

knudfl 09-07-2015 12:57 PM

Installing php, Rosa R6
 
Installing php, Rosa R6 :

Open a terminal window, and type ..
1) su <enter root password>
2) urpmi php
... and the 21 php packages will be installed : Version=5.5.26
( php-5.6.13 is a version for the future.)

Other install method : You can also use a GUI application, "the package manager".
The name in the Menu is : "Install & Remove Software".


-

prabhucbr 09-08-2015 05:55 AM

Quote:

Originally Posted by knudfl (Post 5417019)
Welcome to LQ.

tar xvf php-5.6.13.tar.gz && ./configure --<the usual ~79 options> && make

php.spec : The configuring is line 875 .. 1119.
https://drive.google.com/file/d/0B7S...ew?usp=sharing
Ref. http://dl.fedoraproject.org/pub/fedo...1.fc24.src.rpm


-

Hi Knudfl,

Thanks for your kind reply.

This method fits me but could you be more clear please?

./configure --<the usual ~79 options> && make

This is bit confusing. What should I use after -- ?

Also, I couldn't understand the configuring details with the file you have sent.

I would be grateful, if you could explain me the process, if you dont mind.

Kindly give me the step by step commands, if you dont mind.

Should you need any details from me, please do notify so that I can provide you the details.

Thanks a lot.

knudfl 09-08-2015 08:27 AM

Re #4 .

? Why do you want to use the bleeding edge php-5.6.13 ?
If you never compiled any software before, php is not the one to start with.

"php-5.6.13" will (probably) be used by a few OS`s next year.
E.g. Fedora 24. ( The current bleeding edge Fedora is version 22, has php-5.6.8 ).


Please use your "Install & Remove Software" to install php. See post #3.


-

prabhucbr 09-09-2015 12:10 AM

Hi Knudfl,

Thanks for the reply. I accept your suggestion and have installed PHP from the "Install and Remove Software" in the OS.

Earlier, I was keen on installing version 5.6.13 because, as the web page claimed, it was the minimum requirement to install composer for laravel.

Thanks.


All times are GMT -5. The time now is 04:08 AM.