Re: PHP-4.3.9-3 Recompile Fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--copy-->
Paul Howarth wrote:

>Here is the problem that is causing configure to fail. It's trying to
>see if it can link the curl library by creating a test program using the
>"curl_easy_perform" function, which is a curl library function. It's
>failing, so it appears that there is a problem with your curl-devel
>package.
>
>What's the output of:
>
>$ rpm -q curl curl-devel
>$ rpm -Vv curl-devel
>
>Paul.
>
>
php has a varying number of dependencies, from a few to a lot, based on
what you specify in your ./configure options. When ./configure stops and
complains, it usually means you are missing a dependency. On Fedora Core
3, you need a lot of 'devel' libraries to compile php from the
Fedora-packaged source successfully. You can quickly check whether you
have a package installed by following what Paul suggests above, or
search the rpm database with rpm -qa. For example:

[rlc@bobcp4 ~]$ rpm -qa | egrep curl
curl-7.12.1-1
curl-devel-7.12.1-1

Bob
<---

[rpmbuild@otdaweb php-4.3.9]$ rpm -q curl curl-devel
curl-7.12.1-1
curl-devel-7.12.1-1


and

[rpmbuild@otdaweb php-4.3.9]$ rpm -Vv curl-devel
.........   /usr/bin/curl-config
.........   /usr/include/curl
.........   /usr/include/curl/curl.h
.........   /usr/include/curl/curlver.h
.........   /usr/include/curl/easy.h
.........   /usr/include/curl/mprintf.h
.........   /usr/include/curl/multi.h
.........   /usr/include/curl/stdcheaders.h
.........   /usr/include/curl/types.h
.........   /usr/lib/libcurl.a
.........   /usr/lib/libcurl.so
.........   /usr/share/doc/curl-devel-7.12.1
......... d /usr/share/doc/curl-devel-7.12.1/INTERNALS
.........   /usr/share/doc/curl-devel-7.12.1/examples
......... d /usr/share/doc/curl-devel-7.12.1/examples/Makefile
......... d /usr/share/doc/curl-devel-7.12.1/examples/Makefile.am
......... d /usr/share/doc/curl-devel-7.12.1/examples/Makefile.example
......... d /usr/share/doc/curl-devel-7.12.1/examples/Makefile.in
......... d /usr/share/doc/curl-devel-7.12.1/examples/README
......... d /usr/share/doc/curl-devel-7.12.1/examples/curlgtk.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/curlx.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/fileupload.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/fopen.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/ftp3rdparty.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/ftpget.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/ftpgetresp.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/ftpupload.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/getinfo.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/getinmemory.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/http-post.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/httpput.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/https.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/makefile.dj
......... d /usr/share/doc/curl-devel-7.12.1/examples/multi-app.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/multi-debugcallback.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/multi-double.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/multi-post.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/multi-single.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/multithread.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/persistant.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/post-callback.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/postit2.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/sepheaders.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/simple.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/simplepost.c
......... d /usr/share/doc/curl-devel-7.12.1/examples/simplessl.c
......... d /usr/share/man/man1/curl-config.1.gz
......... d /usr/share/man/man3/curl_easy_cleanup.3.gz
......... d /usr/share/man/man3/curl_easy_duphandle.3.gz
......... d /usr/share/man/man3/curl_easy_getinfo.3.gz
......... d /usr/share/man/man3/curl_easy_init.3.gz
......... d /usr/share/man/man3/curl_easy_perform.3.gz
......... d /usr/share/man/man3/curl_easy_reset.3.gz
......... d /usr/share/man/man3/curl_easy_setopt.3.gz
......... d /usr/share/man/man3/curl_easy_strerror.3.gz
......... d /usr/share/man/man3/curl_escape.3.gz
......... d /usr/share/man/man3/curl_formadd.3.gz
......... d /usr/share/man/man3/curl_formfree.3.gz
......... d /usr/share/man/man3/curl_free.3.gz
......... d /usr/share/man/man3/curl_getdate.3.gz
......... d /usr/share/man/man3/curl_getenv.3.gz
......... d /usr/share/man/man3/curl_global_cleanup.3.gz
......... d /usr/share/man/man3/curl_global_init.3.gz
......... d /usr/share/man/man3/curl_global_init_mem.3.gz
......... d /usr/share/man/man3/curl_mprintf.3.gz
......... d /usr/share/man/man3/curl_multi_add_handle.3.gz
......... d /usr/share/man/man3/curl_multi_cleanup.3.gz
......... d /usr/share/man/man3/curl_multi_fdset.3.gz
......... d /usr/share/man/man3/curl_multi_info_read.3.gz
......... d /usr/share/man/man3/curl_multi_init.3.gz
......... d /usr/share/man/man3/curl_multi_perform.3.gz
......... d /usr/share/man/man3/curl_multi_remove_handle.3.gz
......... d /usr/share/man/man3/curl_multi_strerror.3.gz
......... d /usr/share/man/man3/curl_share_cleanup.3.gz
......... d /usr/share/man/man3/curl_share_init.3.gz
......... d /usr/share/man/man3/curl_share_setopt.3.gz
......... d /usr/share/man/man3/curl_share_strerror.3.gz
......... d /usr/share/man/man3/curl_slist_append.3.gz
......... d /usr/share/man/man3/curl_slist_free_all.3.gz
......... d /usr/share/man/man3/curl_strequal.3.gz
......... d /usr/share/man/man3/curl_unescape.3.gz
......... d /usr/share/man/man3/curl_version.3.gz
......... d /usr/share/man/man3/curl_version_info.3.gz
......... d /usr/share/man/man3/libcurl-easy.3.gz
......... d /usr/share/man/man3/libcurl-errors.3.gz
......... d /usr/share/man/man3/libcurl-multi.3.gz
......... d /usr/share/man/man3/libcurl-share.3.gz
......... d /usr/share/man/man3/libcurl-tutorial.3.gz
......... d /usr/share/man/man3/libcurl.3.gz

When I tried to rebuild the php initially, it does scream about
missing dependencies.  I spent the morning copying the devel rpms I
needed, and installing them.  I installed them as root using:
rpm -i <devel rpm>

Thanks!
Chris


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux