LinuxQuestions.org
Help answer threads with 0 replies.
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 02-18-2020, 01:46 AM   #1
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Rep: Reputation: Disabled
BUG: Unable to rebuild php-7.4.2 on current


Hello,
I can't rebuild php 7.4.2 on current Slackware. Here is the error:

checking for IMAP support... yes
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... /usr
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE... yes
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
checking for krb5-gssapi krb5... yes
checking for openssl >= 1.0.1... yes
checking whether rfc822_output_address_list function present... no
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.

and here is the error from config.log

configure:40064: result: no
configure:40075: checking whether build with IMAP works
configure:40120: cc -o conftest -I/usr/include -O2 -fPIC -fvisibility=hidden -pthread -D_REENTRANT -L/usr/lib64 -Wl,-rpath,/usr/local/lib64/c-client/lib64 -L/usr/local/lib64/c-client/lib64 conftest.c -lc-client -lcrypt -lrt -lm -ldl -lpthread -lxml2 -lpcre2-8 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto >&5
/usr/bin/ld: /usr/local/lib64/c-client/lib64/libc-client.a(osdep.o): in function `auth_oauth2_client':
(.text+0x345f): undefined reference to `mm_login_method'
/usr/bin/ld: (.text+0x3621): undefined reference to `mm_login_method'
collect2: error: ld returned 1 exit status
configure:40120: $? = 1
configure: program exited with status 1
configure: failed program was
 
Old 02-18-2020, 01:56 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
try deleting the folder /usr/local/lib64/c-client and its contents and try the build again (probably libc-client.a has to be rebuilt too).
 
Old 02-18-2020, 02:04 AM   #3
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Original Poster
Rep: Reputation: Disabled
I try 3 times before write to forum. Did not work.
 
Old 02-18-2020, 02:16 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
then I think you most probably don't have the latest version of the build script for php, because it has been patched for the thing you report on january 22nd

https://git.slackware.nl/current/com...87fec9d80a3fc6

just sync the Slackware current sources, delete (again) /usr/local/lib64/c-client and its content (the libc-client.a file), and try again.

Last edited by ponce; 02-18-2020 at 02:17 AM.
 
Old 02-18-2020, 02:44 AM   #5
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Original Poster
Rep: Reputation: Disabled
Hm .. strange. Okay now is work. Thank you
 
  


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
[BUG] php and argon2 in latest -current (2019.07.04) cycojesus Slackware 7 07-06-2019 06:24 AM
[SOLVED] unable to rebuild llvm-4.0 on slackware-current with gcc7/glibc-2.25 nobodino Slackware 4 06-03-2017 01:46 AM
[SOLVED] How to rebuild the corrupted rebuild RPM database pantdk Linux - Server 3 02-19-2015 01:01 AM
[BUG] slackware-current, xfce4-terminal needs rebuild with libxcb-util.so.1 bormant Slackware 17 09-14-2013 12:27 PM
[BUG] Current pkgtools installpkg bug jazzor Slackware 7 04-16-2009 05:30 AM

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

All times are GMT -5. The time now is 01:46 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