LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2014, 12:49 PM   #1
eshl
LQ Newbie
 
Registered: Dec 2013
Posts: 12

Rep: Reputation: Disabled
Smile php5-devel


Hello,

I have installed PHP5 and Apache together on Suse Linux Enterprise Server.
I try to run some phpinfo code on /srv/www/htdocs/index.html as
<?php phpinfo(); ?>

It return PHP version information.

When I try to install php5-devel, it does not work by using the following command.

zypper install php5-devel

client:/ # zypper install php5-devel
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Loading repository data...
Reading installed packages...
Package 'php5-devel' not found.
Resolving package dependencies...

Nothing to do.

I need to install the php5-devel and php-pear to run pecl on db2 database driver.

Thanks in advance for help.
 
Old 08-03-2014, 03:38 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,948

Rep: Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018
Quote:
Originally Posted by eshl View Post
Hello,
I have installed PHP5 and Apache together on Suse Linux Enterprise Server. I try to run some phpinfo code on /srv/www/htdocs/index.html as
<?php phpinfo(); ?>

It return PHP version information.

When I try to install php5-devel, it does not work by using the following command.

zypper install php5-devel

client:/ # zypper install php5-devel
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
Loading repository data...
Reading installed packages...
Package 'php5-devel' not found.
Resolving package dependencies...

Nothing to do.

I need to install the php5-devel and php-pear to run pecl on db2 database driver.
Well, there is one thing you can do in this case: Call SuSE support....SuSE enterprise Linux is a commercial, PAY-FOR distribution. Unless you pay for it, you don't get access to the repositories, which is what the error is telling you. If you're paying and have that problem, they can help you get it resolved quickly. If you're NOT paying, there's not much you can do...aside from the VERY arduous task of compiling/installing that from source, along with ALL the dependencies (and all THEIR dependencies too...), one by one. And when you're done doing that, you'll be left with a system that's not stable, since you're mixing/matching things that are tested and certified together, with stuff that's not.
 
1 members found this post helpful.
Old 08-04-2014, 06:35 AM   #3
eshl
LQ Newbie
 
Registered: Dec 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you TBone Guru.
It works now.
 
Old 08-04-2014, 09:00 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,948

Rep: Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018
Quote:
Originally Posted by eshl View Post
Thank you TBone Guru.
It works now.
Glad it's working...why don't you tell us what you did to GET it working?? Since you came here for help, others may also, so posting the solution is a good thing to do.
 
Old 08-04-2014, 10:10 PM   #5
eshl
LQ Newbie
 
Registered: Dec 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello TBOne Guru,

I follow the instructions from http://www.linuxfromscratch.org to configure, make test, make install for the following sources.

1) php-5.5.15.tar.bz2
2) libxml2-2.9.1.tar.gz
3) libffi-3.1.tar.gz
4) Python-2.7.8.tar.xz
5) zlib-1.2.8.tar.gz

Then I execute sudo pecl install ibm_db2

It will download and install ibm_db2.
 
Old 08-05-2014, 12:35 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,630

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
WHY the "bleep" are you using tarbals???
call novell
pay for the license
use zypper

Code:
su -
zypper se php5 
-------- and to see what repo it is in -----------
zypper info php5-devel
it will be in the Operating system base repo
 
Old 08-05-2014, 01:33 AM   #7
eshl
LQ Newbie
 
Registered: Dec 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello John Guru,

I have change my linux software repository to my company internal ftp server which has SLES 11 SP3.
I could not find php5-devel repo.

client:~/Desktop # zypper se php5
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+-------------------+------------------------------------------+-----------
i | apache2-mod_php53 | PHP5 Module for Apache 2.0 | package
i | php53 | PHP5 Core Files | package
| php53 | PHP5 Core Files | srcpackage
| php53-bcmath | PHP5 Core Files | package
| php53-bz2 | PHP5 Core Files | package
| php53-calendar | PHP5 Core Files | package
i | php53-ctype | PHP5 Extension Module | package
| php53-curl | PHP5 Extension Module | package
| php53-dba | PHP5 Extension Module | package
i | php53-dom | PHP5 Extension Module | package
| php53-exif | PHP5 Extension Module | package
| php53-fastcgi | FastCGI PHP5 Module | package
| php53-fileinfo | PHP5 Extension Module | package
| php53-ftp | PHP5 Extension Module | package
| php53-gd | PHP5 Extension Module | package
| php53-gettext | PHP5 Extension Module | package
| php53-gmp | PHP5 Extension Module | package
i | php53-iconv | PHP5 Extension Module | package
| php53-intl | PHP5 Extension Module | package
i | php53-json | PHP5 Extension Module | package
| php53-ldap | PHP5 Extension Module | package
| php53-mbstring | PHP5 Extension Module | package
| php53-mcrypt | PHP5 Extension Module | package
| php53-mysql | PHP5 Extension Module | package
| php53-odbc | PHP5 Extension Module | package
| php53-openssl | PHP5 Extension Module | package
| php53-pcntl | PHP5 Extension Module | package
| php53-pdo | PHP5 Extension Module | package
| php53-pear | PHP Extension and Application Repository | package
| php53-pgsql | PHP5 Extension Module | package
| php53-pspell | PHP5 pspell extension | package
| php53-shmop | PHP5 Extension Module | package
| php53-snmp | PHP5 Extension Module | package
| php53-soap | PHP5 Extension Module | package
| php53-suhosin | PHP5 Extension Module | package
| php53-sysvmsg | PHP5 Extension Module | package
| php53-sysvsem | PHP5 Extension Module | package
| php53-sysvshm | PHP5 Extension Module | package
i | php53-tokenizer | PHP5 Extension Module | package
| php53-wddx | PHP5 Extension Module | package
i | php53-xmlreader | PHP5 Extension Module | package
| php53-xmlrpc | PHP5 Extension Module | package
i | php53-xmlwriter | PHP5 Extension Module | package
| php53-xsl | PHP5 Extension Module | package
| php53-zip | PHP5 Extension Module | package
| php53-zlib | PHP5 Extension Module | package
client:~/Desktop # zypper info php5-devel
Loading repository data...
Reading installed packages...


package 'php5-devel' not found.


Thanks in advance for help.
 
Old 08-05-2014, 02:22 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,630

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
to see what repos are installed
Code:
su -
zypper ls
you might also want to refresh the database of software
Code:
su -
zypper refs
 
Old 08-05-2014, 04:34 AM   #9
eshl
LQ Newbie
 
Registered: Dec 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello John Guru,

Here is the result of the repo
client:~/Desktop # zypper ls
# | Alias | Name | Enabled | Refresh | Type
--+-----------+-----------+---------+---------+------
1 | suse_repo | suse repo | Yes | Yes | yast2

client:~/Desktop # zypper refs
All services have been refreshed.

client:~/Desktop # zypper search php5-devel
Retrieving repository 'suse repo' metadata [done]
Loading repository data...
Reading installed packages...
No packages found.

Thank you
 
  


Reply


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
x264-devel and lame-devel cannot be installed by yum yzhang738@hotmail.com Linux - Software 3 12-09-2010 07:19 PM
Qt libraries not found during compile - but libqt3-devel and libqt4-devel installed! prasadbrg Mandriva 5 12-02-2008 05:58 AM
kdelibs3-devel or kdelibs-devel? meknb Linux - Software 4 06-18-2006 03:35 PM
Package fam-devel needs libselinux-devel belkins Linux - Newbie 2 10-18-2004 03:02 PM
mplayer and gtk-devel and libpng-devel ... purpleburple Linux - Software 1 03-16-2003 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration