php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5843 Will not compile with pgsql
Submitted: 2000-07-28 20:10 UTC Modified: 2000-08-15 18:17 UTC
From: jthompson at integram-stl dot com Assigned: jah (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.1pl2 OS: DEC Alpha Digital Unix Version 4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jthompson at integram-stl dot com
New email:
PHP Version: OS:

 

 [2000-07-28 20:10 UTC] jthompson at integram-stl dot com
compiler directive: ./configure --with-apxs=/usr/local/apache/bin/apxs with-config-file-path=/usr/local/apache/ --with-psgql=/usr/local/pgsql.  I've also tried it with --with-pgsql=shared,/usr/local/pgsql.  Configures o.k., but when I try to use make, it gets to the Makefile for pgsql and it fails on line 13 with a syntax error.  Even when I edit line 13 out of the pgsql makefile, if I do get it to compile, the resulting module will not load into apache.  Line 13 of the Makefile appears to be a blank line, but there seems to be some odd charaters in it(e.g. tab). 

Used the native c compiler and make.  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-29 06:50 UTC] jah@php.net
Ok, that extra tab is now removed.

But please be more specific. When you say 'module will not load into apache',
do you mean php compiled as an apache module, or pgsql-shared module?
Your example shows that you tried to compile pgsql-module both ways.
In the latter case, have you tried setting LD_LIBRARY_PATH to the correct
value before starting apache? (Assuming that Digital Unix' linker too needs
it like most ones.)
 [2000-08-15 18:17 UTC] jah@php.net
Solution was CC=cc ./configure ...., closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 01:01:30 2024 UTC