On Sun, 05 Aug 2001 11:52:02 +0200, "Jani Taskinen" <[EMAIL PROTECTED]>
wrote:

>>The shared imap extension used to be called "imap.so". Now it's called
>>"imap.a". Personally, I don't care, but maybe it will cause some
> 
> What was your configure line? It should create a .so NOT .a (works for
> me)
See below.

> Did you use phpize?
No.

PHP code-base:
PHP-snapshot php4-200108050135

Imap-devel package:
2000c. The package was built with ssl-support, but without kerberos
support, see
http://rpms.arvin.dk/imap-no_kerberos/
(Based on Red Hat Rawhide, but without Kerberos stuff.)

Contents of config.nice:
-------------------------------
#! /bin/sh
#
# Created by configure

CFLAGS='-O2 -march=i686' \
CXXFLAGS='-O2 -march=i686' \
'./configure' \
'--prefix=/home/troels/local-php' \
'--without-mysql' \
'--disable-session' \
'--disable-xml' \
'--with-imap=shared' \
'--with-imap-ssl' \
'--without-pcre-regex' \
"$@"
-------------------------------

Output from "./configure", relevant to this issue:
-----------------------
...
checking for IMAP support... yes, shared
...
creating ext/imap/Makefile
...
-----------------------

Output from "make", relevant to this issue:
-----------------------
...
make[1]: Entering directory `/home/troels/temp2/php4-200108050135/ext'
Making all in imap
make[2]: Entering directory `/home/troels/temp2/php4-200108050135/ext/imap'
make[3]: Entering directory `/home/troels/temp2/php4-200108050135/ext/imap'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/home/troels/temp2/php4-200108050135/ext/imap'
make[2]: Leaving directory `/home/troels/temp2/php4-200108050135/ext/imap'
...
Making install in imap
make[2]: Entering directory `/home/troels/temp2/php4-200108050135/ext/imap'
make[3]: Entering directory `/home/troels/temp2/php4-200108050135/ext/imap'
make[3]: Nothing to be done for `install-p'.
make[3]: Leaving directory `/home/troels/temp2/php4-200108050135/ext/imap'
make[2]: Leaving directory `/home/troels/temp2/php4-200108050135/ext/imap'
...
-----------------------

The imap.a file contains one object-file: php_imap.o

Content of ext/imap/libs.mk:
-----------------------
include $(top_builddir)/config_vars.mk
LTLIBRARY_OBJECTS = $(LTLIBRARY_SOURCES:.c=.lo) $(LTLIBRARY_OBJECTS_X)
LTLIBRARY_SHARED_OBJECTS = $(LTLIBRARY_OBJECTS:.lo=.slo)
$(LTLIBRARY_SHARED_NAME): $(LTLIBRARY_SHARED_OBJECTS) $(LTLIBRARY_DEPENDENCIES)
        $(SHARED_LIBTOOL) --mode=link $(COMPILE) $(LDFLAGS) -o $@ -avoid-version 
-module -rpath $(phplibdir) $(LTLIBRARY_LDFLAGS) $(LTLIBRARY_OBJECTS) 
$(LTLIBRARY_SHARED_LIBADD)
        $(SHARED_LIBTOOL) --mode=install cp $@ $(phplibdir)

targets = $(LTLIBRARY_SHARED_NAME)
-----------------------

Content of ext/imap/imap.la:
-----------------------
# imap.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4 (1.920 2001/04/24 23:26:18)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname=''

# Names of this library.
library_names=''

# The name of the static archive.
old_library='imap.a'

# Libraries that this one depends upon.
dependency_libs=' -lcrypto -lssl -lc-client'

# Version information for imap.
current=0
age=0
revision=0

# Is this an already installed library?
installed=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/home/troels/temp2/php4-200108050135/modules'
-----------------------

Content of ext/imap/Makefile:
-----------------------
top_srcdir   = /home/troels/temp2/php4-200108050135
top_builddir = /home/troels/temp2/php4-200108050135
srcdir       = /home/troels/temp2/php4-200108050135/ext/imap
builddir     = /home/troels/temp2/php4-200108050135/ext/imap
VPATH        = /home/troels/temp2/php4-200108050135/ext/imap

LTLIBRARY_NAME    = libimap.la
LTLIBRARY_SOURCES = php_imap.c
LTLIBRARY_SHARED_NAME = imap.la
LTLIBRARY_SHARED_LIBADD = $(IMAP_SHARED_LIBADD)

include $(top_srcdir)/build/dynlib.mk
-----------------------

-- 
Greetings from Troels Arvin, Copenhagen, Denmark

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to