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-28-2008, 07:18 PM   #1
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
error recompiling php


Hi,

On Slack 12, I'm trying to recompile php to include postgresql support. I'm using the SlackBuild and stuff from /patches. When I try to compile it bombs with

Code:
checking for utf8_mime2text signature... new
checking for U8T_CANONICAL... no
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
make: *** No targets specified and no makefile found.  Stop.
It appears to have something to do with imap (and if I remove imap support it does indeed compile fine). And I don't seem to have a c-client.h on my system. This is from the config.log:

Code:
configure:47451: checking for utf8_mime2text signature
configure:47469: gcc -c -I  conftest.c 1>&5
gcc: no input files
configure: failed program was:
#line 47456 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <c-client.h>
      
int main() {

        SIZEDTEXT *src, *dst;
        utf8_mime2text(src, dst);
      
; return 0; }
configure:47498: checking for U8T_CANONICAL
configure:47514: gcc -c -I  conftest.c 1>&5
gcc: no input files
configure: failed program was:
#line 47503 "configure"
#include "confdefs.h"

#include <c-client.h>
      
int main() {

         int i = U8T_CANONICAL;
      
; return 0; }
Can anyone help with this?

Thanks,
Brian
 
Old 02-29-2008, 08:06 AM   #2
apollo29a
LQ Newbie
 
Registered: Feb 2008
Distribution: FreeBSD
Posts: 6

Rep: Reputation: 0
Wink

I found the c-client.h file, but I don't really know where you should but it. Maybe if you do a small edit in the make file, or you could try putting it in the folder with the sources.
 
Old 02-29-2008, 05:11 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by BCarey View Post
Hi,

On Slack 12, I'm trying to recompile php to include postgresql support. I'm using the SlackBuild and stuff from /patches. When I try to compile it bombs with

...

It appears to have something to do with imap (and if I remove imap support it does indeed compile fine). And I don't seem to have a c-client.h on my system. This is from the config.log:

...

Can anyone help with this?

Thanks,
Brian
Been a while that I mucked around with PHP & PostgreSQL support,
I think you'll need linux/slackware/slackware-12.0/source/n/pine
installed on the same directory level as your php source if you
don't want to give up on imap support.



Cheers,
Tink
 
Old 03-01-2008, 02:30 PM   #4
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Cool, Tink, that worked fine.

Thanks,
Brian
 
Old 03-01-2008, 06:56 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Awesome :} ... glad it did.


Cheers,
Tink
 
  


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
Recompiling php with gd libraly? centosfan Linux - Server 1 01-06-2008 03:53 AM
recompiling php arichardson Fedora 2 11-21-2005 07:17 AM
PHP recompiling ( without source ) TheSpy Slackware 2 02-21-2005 01:43 PM
recompiling php kris-nz Linux - Software 1 11-30-2004 10:52 PM
recompiling php question j-ray Linux - Software 5 07-20-2002 04:10 PM

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

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