build update_versions pains, Zend, phpize, imagick

Status
Not open for further replies.
Code:
#!/bin/sh
./configure \
        --with-apxs2 \
        --with-curl=/usr/local/lib \
        --with-gd \
        --enable-gd-native-ttf \
        --with-ttf \
        --with-gettext \
        --with-jpeg-dir=/usr/local/lib \
        --with-freetype-dir=/usr/local/lib \
        --with-kerberos \
        --with-openssl \
        --with-mcrypt \
        --with-mhash \
        --with-mysql \
        --with-mysqli \
        --with-pcre-regex=/usr/local \
        --with-pdo-mysql \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --enable-zip \
        --with-iconv=/usr/local \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-mbstring \
        --with-xsl

But what is xslt?


http://74.117.235.12/phpinfo.php
 
Code:
#!/bin/sh
./configure \
        --with-apxs2 \
        --with-curl=/usr/local/lib \
        --with-gd \
        --enable-gd-native-ttf \
        --with-ttf \
        --with-gettext \
        --with-jpeg-dir=/usr/local/lib \
        --with-freetype-dir=/usr/local/lib \
        --with-kerberos \
        --with-openssl \
        --with-mcrypt \
        --with-mhash \
        --with-mysql \
        --with-mysqli \
        --with-pcre-regex=/usr/local \
        --with-pdo-mysql \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --enable-zip \
        --with-iconv=/usr/local \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-mbstring \
        --with-xsl

But what is xslt?


http://74.117.235.12/phpinfo.php

XSL Transformations (XSLT) let you define a set of rules that take an XML document, carve it up, and spit out a document in another format. XSLT 1.0 was officially released in November 1999, and newer versions are under development.

Source:

http://articles.sitepoint.com/article/get-xsl-dirty-work/2
 
options.conf

Could you be so kind as to paste what you have from your options.conf ? This may help me even more.
 
xsl

I see your xsl section in your phpinfo.php

...What I don't understand is why mine doesn't come up with the same. If I do a whereis, I do get these:

Code:
[root@myuser custombuild]# whereis libxml
libxml: /usr/lib/libxml2.a /usr/lib/libxml2.so /usr/local/lib/libxml2.a /usr/local/lib/libxml2.la /usr/local/lib/libxml2.so /usr/share/man/man3/libxml.3.gz
[root@myuser custombuild]# whereis libxslt
libxslt: /usr/lib/libxslt.a /usr/lib/libxslt.so /usr/local/lib/libxslt.a /usr/local/lib/libxslt.la /usr/local/lib/libxslt.so /usr/include/libxslt /usr/share/man/man3/libxslt.3.gz

I see the .so's. Do I need to copy them into my extension directory and add anything to the php.ini ?
 
XSL Transformations (XSLT) let you define a set of rules that take an XML document, carve it up, and spit out a document in another format. XSLT 1.0 was officially released in November 1999, and newer versions are under development.

Source:

http://articles.sitepoint.com/article/get-xsl-dirty-work/2

The reason I ask is because up until now we had been talking about xsl and now suddenly xslt appears. Your image show xslt and my phpinfo shows xsl. So are we talking about 2 different things now?
 
php.ini

My guess is that you have something enabled in the php.ini that I don't. Would you be so kind as to see if there are any uncommented extensions or anything like that in your php.ini, pertaining to xsl ?
 
How old is your system? Are you sure it was not installed using customapache?
 
options.conf

Code:
[root@server custombuild]# cat options.conf 
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2 or 5.3
default_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
zend=no

#Possible values - 5.0, 5.1
mysql=5.0
mysql_inst=no
mysql_backup=yes

#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2

#Web applications
phpmyadmin=yes
atmail=no
squirrelmail=yes
roundcube=yes
uebimiau=no

#Mail options
exim=no
mail-header-patch=yes
dovecot=yes

#Statistics
awstats=no
webalizer=yes

#FTP options
proftpd=no

#Jailed shell (beta)
jail=no

#CustomBuild options
custombuild=1.1
autover=no
bold=yes
clean=yes
clean_old_tarballs=no
clean_old_webapps=yes

#Cron settings
cron=no
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#CustomBuild 1.2 settings
php6_cli=no
php6_cgi=no
php_ini=no
#Possible values - recommended or dist
php_ini_type=recommended
cleanapache=no
fileserver=1
eximconf=no
 
The reason I ask is because up until now we had been talking about xsl and now suddenly xslt appears. Your image show xslt and my phpinfo shows xsl. So are we talking about 2 different things now?

They are related, but it is in fact xsl that I am trying to get installed. ...I don't want to get you offtrack with the image I posted; it may have been a slight error. However, I would be curious what you could do with the xslt installation too, in the DA way, with expat and Sablotron (Sablot).

As I just posted, I am thinking because you did a fresh installation, you may have something in your php.ini that I don't. I would be curious to see if you have an extension enabled.
 
How old is your system? Are you sure it was not installed using customapache?

I think I had originally installed with customapache, but then I transitioned to custombuild. I wiped customapache and did a clean custombuild 1.1 and then 1.2
 
As I just posted, I am thinking because you did a fresh installation, you may have something in your php.ini that I don't. I would be curious to see if you have an extension enabled.

I have no xsl or xslt in php.ini. See Post #23.

No, definitely custombuild 1.2

I used 1.1. I believe 1.2 is still beta.

I think I had originally installed with customapache, but then I transitioned to custombuild. I wiped customapache and did a clean custombuild 1.1 and then 1.2

That is what I thought. You have broken it beyond me being able to fix it. You could have backed up and rebuilt your server in about 2 hours. Trying to fix it now is a time waster in my opinion.
 
Maybe smtalk or jlasman will have a solution.

I have no xsl or xslt in php.ini. See Post #23.

I used 1.1. I believe 1.2 is still beta.

That is what I thought. You have broken it beyond me being able to fix it. You could have backed up and rebuilt your server in about 2 hours. Trying to fix it now is a time waster in my opinion.

I am not going to rebuild my server for the sake of this. Surely someone has a way for me to do checks and fix it. It is too extreme to do what you are suggesting. Just because you would not be able to fix it, because of lack of experience with customapache/custombuild, doesn't mean someone else would not be able to fix it easily. And the problem is probably easier to fix than expected.

Maybe smtalk or jlasman will have a solution.
 
php-common and php-xml

And I still don't have php-common and php-xml installed. ...Have no clue if these are needed or not.
 
And I still don't have php-common and php-xml installed. ...Have no clue if these are needed or not.

Nor should you have these installed as you have been told many times. These are rpm packages which you should not install. Stop looking for them, stop trying to install them, stop thinking about them.
 
Hi Jeff,

It was not related to XSL at all. Found a bug with autoconf and reported it to John (DirectAdmin staff).
 
Hi Jeff,

It was not related to XSL at all. Found a bug with autoconf and reported it to John (DirectAdmin staff).

So how was it that I was able to install it with no problem? Is it just a random bug?
 
Autoconf? Yes, it's a bug with phpize only, and autoconf v. 2.66.
 
here's the chat; hope it helps someone else too

(9:05:05 PM) smtalk: is everything okay with a default PHP configuration file (configure/ap2/configure.php5)?
(9:07:20 PM) ukrppf: Yes, I believe everything is okay with it. I know that I need \ on the end of the lines, except the last one, etc.
(9:07:26 PM) ukrppf: Thank you for responding.
(9:07:36 PM) ukrppf: I know you are the DA CustomBuild genius!
(9:10:49 PM) smtalk: I'm sorry, but it would be really easier for me to login to the server and fix the problem
(9:11:08 PM) ukrppf: I realize that it would be easier.
(9:11:26 PM) ukrppf: Please, be so kind as to help me check on some things and fix it, without giving the login information.
(9:11:42 PM) ukrppf: I know you can help me to fix this. I am not able to give you the login information.
(9:12:25 PM) smtalk: ***
(9:12:40 PM) smtalk: and that would require me to chat with you about an hour
(9:12:44 PM) ukrppf: I understand. I am so sorry ***
(9:13:07 PM) smtalk: ***
(9:13:21 PM) ukrppf: I will be quick to work with you. And I would be happy to send a little money on your paypal account, as a thank you.
(9:13:22 PM) smtalk: ***
(9:13:42 PM) ukrppf: ***
(9:13:56 PM) smtalk: you can see your server history and change the password after my login
(9:15:38 PM) ukrppf: I understand. I do trust you. However, I am not allowed to give this information. ...I will give you a gift of money on your paypal, as a thank you, if you help me work through this, via chat.
(9:15:54 PM) ukrppf: I know you are capable, because you have the mental abilities.
(9:16:04 PM) ukrppf: You can think through problems and fix them, I know.
(9:19:43 PM) smtalk: okay
(9:19:49 PM) smtalk: try the following fix:
(9:19:53 PM) ukrppf: Thank you!
(9:20:22 PM) smtalk: cd /usr/local/directadmin/custombuild
(9:20:27 PM) smtalk: ./build update
(9:21:03 PM) ukrppf: done
(9:22:16 PM) smtalk: wget -O autoconf-2.63.tar.gz http://files.directadmin.com/services/custombuild/autoconf-2.63.tar.gz;
./build set autover no
perl -pi -e 's/2.66:fb00d77cbc468994c55919298af1ff02/2.63:43d76649fb86cd21d64f68c48d5abdcf/' versions.txt
./build autoconf
(9:22:20 PM) smtalk: try running phpize then
(9:23:01 PM) ukrppf: You mean, run the phpize on a package, yes?
(9:23:45 PM) smtalk: right
(9:23:54 PM) smtalk: and please let me know the result
(9:23:59 PM) ukrppf: yes
(9:24:44 PM) ukrppf: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
(9:24:57 PM) smtalk: no more errors?
(9:25:10 PM) ukrppf: No errors, just those warnings. Correct.
(9:25:52 PM) smtalk: is it different from what you got in the past?
(9:26:19 PM) ukrppf: Originally, I never had the warnings with the configure.in
(9:26:42 PM) ukrppf: But, I am able to configure, make and make install now
(9:26:53 PM) smtalk: great :)
(9:26:55 PM) ukrppf: I did get the imagick installed :-)
(9:27:00 PM) smtalk: what's the output of: /usr/local/bin/autoconf --version
(9:27:01 PM) smtalk: ?
(9:27:05 PM) ukrppf: ok
(9:27:07 PM) ukrppf: just a second
(9:27:38 PM) ukrppf: /usr/local/bin/autoconf --version
autoconf (GNU Autoconf) 2.66
(9:28:48 PM) smtalk: cd /usr/local/directadmin/custombuild
(9:28:52 PM) smtalk: cat versions.txt
(9:29:32 PM) ukrppf: OK. Here we go.
(9:29:35 PM) Unable to send message: The message is too large.
(9:29:42 PM) ukrppf: Message too large, it says.
(9:29:51 PM) ukrppf: Shall I send it as a text file?
(9:30:07 PM) smtalk: upload it anywhere
(9:30:12 PM) smtalk: or, wait
(9:30:14 PM) smtalk: just do:
(9:30:17 PM) smtalk: cat versions.txt
(9:30:20 PM) smtalk: sorry
(9:30:25 PM) smtalk: cat versions.txt | grep autoconf
(9:30:43 PM) Offering to send cat versions.txt to smtalk
(9:31:05 PM) ukrppf: autoconf:2.66:fb00d77cbc468994c55919298af1ff02
(9:31:24 PM) Transfer of file cat versions.txt complete
(9:31:38 PM) smtalk: what's the output of: ./build set autover no
(9:31:39 PM) smtalk: ?
(9:32:03 PM) ukrppf: Changed autover option from no to no
(9:32:15 PM) smtalk: ok, now:
(9:32:34 PM) smtalk: perl -pi -e 's/2.66:fb00d77cbc468994c55919298af1ff02/2.63:43d76649fb86cd21d64f68c48d5abdcf/' versions.txt
(9:32:40 PM) smtalk: cat versions.txt | grep autoconf
(9:32:45 PM) smtalk: what's the output now?
(9:32:53 PM) smtalk: do not do "./build update" afterwards
(9:33:22 PM) ukrppf: from the grep I get:
(9:33:23 PM) ukrppf: autoconf:2.63:43d76649fb86cd21d64f68c48d5abdcf
(9:33:29 PM) smtalk: great
(9:33:31 PM) smtalk: now:
(9:33:32 PM) ukrppf: I will do the .build now
(9:33:36 PM) ukrppf: yes?
(9:33:41 PM) smtalk: no
(9:33:44 PM) ukrppf: ok
(9:33:45 PM) smtalk: just do: ./build autoconf
(9:33:47 PM) smtalk: and nothing more
(9:33:51 PM) ukrppf: Okay
(9:33:56 PM) ukrppf: with no update?
(9:33:59 PM) ukrppf: or do the update first?
(9:34:07 PM) smtalk: then execute the same: /usr/local/bin/autoconf --version
(9:34:11 PM) smtalk: no update
(9:34:14 PM) ukrppf: ok
(9:34:15 PM) ukrppf: just a second
(9:35:06 PM) ukrppf: /usr/local/bin/autoconf --version
autoconf (GNU Autoconf) 2.63
(9:35:31 PM) smtalk: great
(9:35:33 PM) smtalk: try phpize now
(9:35:37 PM) ukrppf: okay
(9:35:39 PM) ukrppf: just a second
(9:36:17 PM) ukrppf: PERFECT
(9:36:21 PM) ukrppf: no more warnings
(9:36:33 PM) ukrppf: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
(9:36:45 PM) smtalk: great :)
(9:37:12 PM) smtalk: I sent a bug report to DirectAdmin guys (John), so you won't have any problems after any updated software tomorrow
(9:37:19 PM) ukrppf: It is wonderful. :-)
(9:37:26 PM) ukrppf: ...How do I get the xsl working now?
(9:37:28 PM) smtalk: do not do any updates till tomorrow
(9:37:30 PM) smtalk: ./build php n
(9:37:37 PM) ukrppf: okay, just a moment
(9:37:44 PM) smtalk: and that's it :) if you have --with-xsl in custom/ap2/configure.php5
(9:37:45 PM) ukrppf: I will be very excited to see it work now
(9:38:49 PM) smtalk: it must work
(9:41:27 PM) ukrppf: Okay, I checked the configure.php5 and added the --with-xsl back in
(9:41:35 PM) ukrppf: I am doing the ./build php n right now
(9:42:06 PM) ukrppf: And see, we only spent about 30 minutes! Not bad! :-D
(9:43:05 PM) smtalk: yes :)
(9:43:16 PM) smtalk: but got tired a bit :)
(9:43:32 PM) ukrppf: I understand. But you proved to me that you are the genius! :-)
(9:43:45 PM) ukrppf: Someone that knows what they are doing can think through problems.
(9:46:01 PM) ukrppf: Hmmm...
(9:46:19 PM) ukrppf: Okay, I don't see the xsl working
(9:46:28 PM) smtalk: php --info | grep xsl
(9:46:47 PM) ukrppf: Returns nothing
(9:47:09 PM) smtalk: then you haven't executed everything as you should
(9:47:14 PM) smtalk: cd /usr/local/directadmin/custombuild
(9:47:19 PM) smtalk: mkdir -p custom/ap2
(9:47:31 PM) smtalk: cp -Rp configure/ap2/configure.php5 custom/ap2/configure.php5
(9:47:51 PM) smtalk: edit custom/ap2/configure.php5, add --with-xsl and run "./build php n"
(9:47:57 PM) smtalk: and I'm sure you'll get it installed
(9:50:55 PM) ukrppf: just a second
(9:52:33 PM) ukrppf: Okay, I am running ./build php n again
(9:53:21 PM) ukrppf: So, do I understand correctly then, that this was missing the whole time from a folder that should have been there?
(9:57:24 PM) smtalk: custom folder is used for custom configurations
(9:58:22 PM) smtalk: configure/ directory is updated after every "./build update" command, that's why I added a feature to have a custom/ one
(9:58:26 PM) ukrppf: ...I did another php --info | grep xsl and come up with nothing.
(9:59:32 PM) smtalk: okay, what's the output of "./build options | grep PHP"
(9:59:33 PM) smtalk: ?
(9:59:58 PM) ukrppf: PHP: 5.3.3 as CGI with mail() header patch
(10:00:08 PM) smtalk: ah :)
(10:00:13 PM) smtalk: PHP as CGI
(10:00:17 PM) smtalk: do the following then:
(10:00:23 PM) smtalk: cd /usr/local/directadmin/custombuild
(10:00:26 PM) ukrppf: ok
(10:00:39 PM) smtalk: mkdir -p custom/suphp
(10:00:55 PM) ukrppf: done
(10:00:56 PM) smtalk: cp -Rp configure/suphp/configure.php5 custom/suphp/configure.php5
(10:01:05 PM) smtalk: edit custom/suphp/configure.php5
(10:01:11 PM) smtalk: add --with-xsl
(10:01:16 PM) smtalk: and run "./build php n" then
(10:03:12 PM) ukrppf: cool
(10:03:17 PM) ukrppf: running the ./build php n again
(10:07:59 PM) ukrppf: AWESOME!
(10:08:05 PM) ukrppf: XSL is there!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(10:08:11 PM) ukrppf: AMAZING!!!!!!!!!!!!!!!!!!!!
(10:08:31 PM) smtalk: :)
(10:08:34 PM) smtalk: have a nice day!
(10:08:38 PM) ukrppf: YOU TOO!
 
Status
Not open for further replies.
Back
Top