LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-13-2017, 06:36 PM   #1
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Rep: Reputation: 99
Question UTF8_mime2txt error while trying to make a php 5.6.32 pkg for current


I am trying to build a php-5.6.32 package for current to install with php-7.2 . I am using the slackbuild from 14.2 and the alpine slackbuild from current. I am using a clean install of current in a qemu-x86-64 virtual machine.(tried it on my real system and got the same error) I also tried using the same install config from php 7 and its passing the same error .

Does anyone have an idea what i need to change in the config?

I included a screen shot of where it stopped,
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2017-12-13_19-23-26.png
Views:	27
Size:	69.1 KB
ID:	26526  
 
Old 12-14-2017, 03:05 AM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
It is possible to install PHP 5.6.x along with the now PHP 7.2, with some caveats.

You have to grab the 14.2 slackbuild and adapt it on using i.e. /opt/php56 as target for the installation of your custom PHP.

Bear in mind that YOU CANNOT install both (the native) PHP 7.2 and (your custom) PHP 5.6 in the /usr, it is a big NO-NO, but installing in /opt, you can even have multiple PHP versions.

Also, I do not think that issues like you describe could occur.

PS. I attached to this post an archive with my current build script for PHP 5.6, installed in /opt/php5.

Of course, lacks the PHP source tarball, being too big to be attached here.

Also, to note that's a TAR.XZ archive, renamed as .txt, for making the LQ site happy. Use at your risk, after a careful inspection.
Attached Files
File Type: txt php5.tar.xz.txt (6.3 KB, 10 views)

Last edited by Darth Vader; 12-14-2017 at 04:31 AM.
 
Old 12-14-2017, 06:41 AM   #3
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Seems to be related to imap....

from: board.phpbuilder.com/-RESOLVED-configure-error-utf8_mime2text()-has-new-signature-but-U8T_CANONICAL-is-missing


Quote:
Make sure ./configure have using

--with-openssl --with-imap --with-imap-ssl
and, although not sure which distribution this relates to:
Quote:
That's means the system have instelled

openssl
courier-imap
courier-authlib
courier-authlib-base
hth

Last edited by brobr; 12-14-2017 at 06:45 AM.
 
Old 12-14-2017, 07:23 AM   #4
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
I was able to successfully build the PHP 5.6.32 under latest -current, for a parallel install, using the SlackBuild attached to my previous post.
 
Old 12-14-2017, 10:13 AM   #5
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Original Poster
Rep: Reputation: 99
Thank you guys for the help!

Out of pure laziness I just used DV's supplied files, modified them back to install into the normal spot and replaced php-7.2 with 5.6.32. I only need php for my nextcloud server and I think the next version will work with php 7.2 so this hopefully will be a temporary fix.




Thank you again
Dan
 
Old 12-14-2017, 12:06 PM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by linuxtinker View Post
Thank you guys for the help!

Out of pure laziness I just used DV's supplied files, modified them back to install into the normal spot and replaced php-7.2 with 5.6.32. I only need php for my nextcloud server and I think the next version will work with php 7.2 so this hopefully will be a temporary fix.




Thank you again
Dan
I am glad to hear you resolved the issue, BUT...

I hope you figured out that I changed the names of some installed files, and even of the package, to facilitate the parallel installation with PHP72, right?

I.e. the package is named php5-5.6.32-x86_64-2.txz, /etc/httpd/mod_php5.conf.example instead of mod_php.conf.example, and so on.

Last edited by Darth Vader; 12-14-2017 at 12:14 PM.
 
Old 12-15-2017, 09:49 AM   #7
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Original Poster
Rep: Reputation: 99
Quote:
Originally Posted by Darth Vader View Post
I am glad to hear you resolved the issue, BUT...

I hope you figured out that I changed the names of some installed files, and even of the package, to facilitate the parallel installation with PHP72, right?

I.e. the package is named php5-5.6.32-x86_64-2.txz, /etc/httpd/mod_php5.conf.example instead of mod_php.conf.example, and so on.

Yea I saw all that and built two packages , one with your changes and one with all the names and files in their offical spots.For some reason I was able to build with the script you provided and not with the official one. If I have time this weekend ill try to figure out why . For now I will just live with the php-5.

Thanks again

Thanks again
 
  


Reply



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
[SOLVED] LFS v7.10 - Pkg-config ( 6.19.1) make error /arun/ank Linux From Scratch 2 12-19-2016 05:14 PM
LFS 6.5 Version, error in 'make check' of pkg-config Veena_Gecw Linux From Scratch 0 10-27-2012 06:22 AM
How to install .deb pkg, thru console, thats in current directory? linus72 Debian 1 08-25-2009 08:58 PM
[SOLVED] error creating RPM [make binrpm-pkg] scmbg Linux - Kernel 2 11-02-2008 08:32 PM
current - make xconfig libqt-mt.so.3 error tobyl Slackware 7 03-31-2007 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:23 AM.

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