Skip to content

Instantly share code, notes, and snippets.

@nowthatsamatt
Created January 5, 2012 16:05
Show Gist options
  • Save nowthatsamatt/1565884 to your computer and use it in GitHub Desktop.
Save nowthatsamatt/1565884 to your computer and use it in GitHub Desktop.
root@ubuntu:~# pecl install svn
downloading svn-1.0.1.tgz ...
Starting to download svn-1.0.1.tgz (24,716 bytes)
.........done: 24,716 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Please provide the prefix of Subversion installation [autodetect] :
Please provide the prefix of the APR installation used with Subversion [autodetect] :
building in /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1
running: /tmp/pear/temp/svn/configure --with-svn --with-svn-apr
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20090626
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for svn support... yes, shared
checking for specifying the location of apr for svn... yes, shared
checking for svn includes... Found libsvn 1.6.6
checking for apr and apr-util... Found apr 1.3.8
libsvn includes: "-I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
libsvn ldflags: "-lsvn_client-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_subr-1 -L/usr/lib -lapr-1"
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/libtool --mode=compile cc -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I. -I/tmp/pear/temp/svn -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/include -I/tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/main -I/tmp/pear/temp/svn -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/svn/svn.c -o svn.lo
libtool: compile: cc -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I. -I/tmp/pear/temp/svn -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/include -I/tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/main -I/tmp/pear/temp/svn -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/svn/svn.c -fPIC -DPIC -o .libs/svn.o
/tmp/pear/temp/svn/svn.c: In function ‘php_svn_handle_error’:
/tmp/pear/temp/svn/svn.c:273: warning: format not a string literal and no format arguments
/tmp/pear/temp/svn/svn.c: In function ‘init_svn_client’:
/tmp/pear/temp/svn/svn.c:350: warning: ‘svn_client_get_simple_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:160)
/tmp/pear/temp/svn/svn.c:353: warning: ‘svn_client_get_username_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:207)
/tmp/pear/temp/svn/svn.c:356: warning: ‘svn_client_get_ssl_server_trust_prompt_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:274)
/tmp/pear/temp/svn/svn.c:360: warning: ‘svn_client_get_ssl_server_trust_file_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:223)
/tmp/pear/temp/svn/svn.c:363: warning: ‘svn_client_get_ssl_client_cert_file_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:240)
/tmp/pear/temp/svn/svn.c:366: warning: ‘svn_client_get_ssl_client_cert_pw_file_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:257)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_import’:
/tmp/pear/temp/svn/svn.c:493: warning: ‘svn_client_import’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1649)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_checkout’:
/tmp/pear/temp/svn/svn.c:734: warning: ‘svn_client_checkout2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1072)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_ls’:
/tmp/pear/temp/svn/svn.c:880: warning: ‘svn_client_ls2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4060)
/tmp/pear/temp/svn/svn.c:888: warning: ‘svn_client_ls’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4077)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_log’:
/tmp/pear/temp/svn/svn.c:1102: warning: ‘svn_client_log2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2028)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_diff’:
/tmp/pear/temp/svn/svn.c:1260: warning: ‘svn_client_diff3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2286)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_revert’:
/tmp/pear/temp/svn/svn.c:1367: warning: ‘svn_client_revert’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2999)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_resolved’:
/tmp/pear/temp/svn/svn.c:1409: warning: ‘svn_client_resolved’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3022)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_info’:
/tmp/pear/temp/svn/svn.c:2013: warning: ‘svn_client_info’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4533)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_export’:
/tmp/pear/temp/svn/svn.c:2077: warning: ‘svn_client_export3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3882)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_switch’:
/tmp/pear/temp/svn/svn.c:2127: warning: ‘svn_client_switch’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1284)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_copy’:
/tmp/pear/temp/svn/svn.c:2180: warning: ‘svn_client_copy2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3214)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_blame’:
/tmp/pear/temp/svn/svn.c:2294: warning: ‘svn_client_blame2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2153)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_delete’:
/tmp/pear/temp/svn/svn.c:2343: warning: ‘svn_client_delete2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1533)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_mkdir’:
/tmp/pear/temp/svn/svn.c:2412: warning: ‘svn_client_mkdir2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1448)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_move’:
/tmp/pear/temp/svn/svn.c:2482: warning: ‘svn_client_move3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3362)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_proplist’:
/tmp/pear/temp/svn/svn.c:2546: warning: ‘svn_client_proplist2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3754)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_propget’:
/tmp/pear/temp/svn/svn.c:2621: warning: ‘svn_client_propget2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3648)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_repos_recover’:
/tmp/pear/temp/svn/svn.c:2734: warning: ‘svn_repos_recover2’ is deprecated (declared at /usr/include/subversion-1/svn_repos.h:372)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_commit’:
/tmp/pear/temp/svn/svn.c:2862: warning: ‘svn_client_commit3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1739)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_add’:
/tmp/pear/temp/svn/svn.c:3026: warning: ‘svn_client_add2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1373)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_status’:
/tmp/pear/temp/svn/svn.c:3135: warning: ‘svn_client_status2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1867)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_update’:
/tmp/pear/temp/svn/svn.c:3199: warning: ‘svn_client_update’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1200)
/tmp/pear/temp/svn/svn.c: In function ‘zif_svn_repos_fs_begin_txn_for_commit’:
/tmp/pear/temp/svn/svn.c:3267: warning: ‘svn_repos_fs_begin_txn_for_commit’ is deprecated (declared at /usr/include/subversion-1/svn_repos.h:1659)
/bin/bash /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/include -I/tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/main -I/tmp/pear/temp/svn -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -o svn.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/modules svn.lo -lsvn_client-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_subr-1 -lapr-1
libtool: link: cc -shared .libs/svn.o /usr/lib/libsvn_client-1.so /usr/lib/libsvn_fs-1.so /usr/lib/libsvn_repos-1.so /usr/lib/libsvn_subr-1.so /usr/lib/libapr-1.so -pthread -Wl,-soname -Wl,svn.so -o .libs/svn.so
libtool: link: ( cd ".libs" && rm -f "svn.la" && ln -s "../svn.la" "svn.la" )
/bin/bash /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/libtool --mode=install cp ./svn.la /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/modules
libtool: install: cp ./.libs/svn.so /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/modules/svn.so
libtool: install: cp ./.libs/svn.lai /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/modules/svn.la
libtool: finish: PATH="/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ruby/bin:/sbin" ldconfig -n /tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/modules
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/pear/temp/pear-build-rootIpn3Xf/svn-1.0.1/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operatiystem documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1" install
Installing shared extensions: /tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1/usr/lib/php5/20090626/
running: find "/tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1" | xargs ls -dils
145353 4 drwxr-xr-x 3 root root 4096 2012-01-05 11:04 /tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1
146306 4 drwxr-xr-x 3 root root 4096 2012-01-05 11:04 /tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1/usr
146307 4 drwxr-xr-x 3 root root 4096 2012-01-05 11:04 /tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1/usr/lib
146308 4 drwxr-xr-x 3 root root 4096 2012-01-05 11:04 /tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1/usr/lib/php5
146309 4 drwxr-xr-x 2 root root 4096 2012-01-05 11:04 /tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1/usr/lib/php5/20090626
146305 188 -rwxr-xr-x 1 root root 191877 2012-01-05 11:04 /tmp/pear/temp/pear-build-rootIpn3Xf/install-svn-1.0.1/usr/lib/php5/20090626/svn.so
Build process completed successfully
Installing '/usr/lib/php5/20090626/svn.so'
install ok: channel://pecl.php.net/svn-1.0.1
configuration option "php_ini" is not set to php.ini location
You should add "extension=svn.so" to php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment