Error running make for subversion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
32 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Error running make for subversion

Joseph, Anselm

Hope you can help with this issue from a newbie.

gcc version 4.2.0 is installed on my powerpc-ibm-aix7.1.3.0 system. I am trying to build gnu subversion 1.9.5 and running make after ./configure.

 

Subversion 1.9.5

gcc (GCC) 4.2.0

Target: powerpc-ibm-aix6.1.0.0

 

$ make

        cd subversion/svn && /bin/sh "/opt/eai/ci/subversion/libtool" --tag=CC --silent --mode=link gcc -shared  -g -O2   -qHALT=E    -rpath /usr/local/lib  -o svn  add-cmd.lo auth-cmd.lo blame-cmd.lo cat-cmd.lo changelist-cmd.lo checkout-cmd.lo cl-conflicts.lo cleanup-cmd.lo commit-cmd.lo conflict-callbacks.lo copy-cmd.lo delete-cmd.lo deprecated.lo diff-cmd.lo export-cmd.lo file-merge.lo help-cmd.lo import-cmd.lo info-cmd.lo list-cmd.lo lock-cmd.lo log-cmd.lo merge-cmd.lo mergeinfo-cmd.lo mkdir-cmd.lo move-cmd.lo notify.lo patch-cmd.lo propdel-cmd.lo propedit-cmd.lo propget-cmd.lo proplist-cmd.lo props.lo propset-cmd.lo relocate-cmd.lo resolve-cmd.lo resolved-cmd.lo revert-cmd.lo similarity.lo status-cmd.lo status.lo svn.lo switch-cmd.lo unlock-cmd.lo update-cmd.lo upgrade-cmd.lo util.lo ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_wc/libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_diff/libsvn_diff-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/opt/freeware/lib -laprutil-1 -L/opt/freeware/lib -lapr-1 -lintl

gcc: unrecognized option '-qHALT=E'

ld: 0711-317 ERROR: Undefined symbol: .libintl_dgettext

ld: 0711-317 ERROR: Undefined symbol: .libintl_dngettext

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

collect2: ld returned 8 exit status

make: 1254-004 The error code from the last command is 1.

 

 

Stop.

 

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Error running make for subversion

Daniel Shahaf-2
Joseph, Anselm wrote on Fri, May 05, 2017 at 14:36:12 +0000:
> Hope you can help with this issue from a newbie.
> gcc version 4.2.0 is installed on my powerpc-ibm-aix7.1.3.0 system.
> I am trying to build gnu subversion 1.9.5 and running make after

I think you mean "Apache Subversion 1.9.5".

> gcc: unrecognized option '-qHALT=E'
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dgettext
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dngettext

The compiler can't find libintl.  Either point configure to a libintl,
or pass --disable-nls to disable localised output.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.
Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
Thank You Daniel.
I ran configure with --disable-nls and make completely successfully.
However, make install is failing with the following:
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -thread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536

-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Friday, May 05, 2017 10:03 PM
To: Joseph, Anselm
Cc: [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Fri, May 05, 2017 at 14:36:12 +0000:
> Hope you can help with this issue from a newbie.
> gcc version 4.2.0 is installed on my powerpc-ibm-aix7.1.3.0 system.
> I am trying to build gnu subversion 1.9.5 and running make after

I think you mean "Apache Subversion 1.9.5".

> gcc: unrecognized option '-qHALT=E'
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dgettext
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dngettext

The compiler can't find libintl.  Either point configure to a libintl, or pass --disable-nls to disable localised output.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.

Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
In reply to this post by Daniel Shahaf-2
I realized it is removing mod_dav_svn.so and then doing a chmod on the file in the same directory...
Not sure what's causing this on the make install...
 Thank you for any guidance...
/opt/eai/ci/subversion/build/install-sh -c -m 644 ./subversion/svnsync/svnsync.1 /opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnsync.1
/opt/eai/ci/subversion/build/install-sh -c -m 644 ./subversion/svnversion/svnversion.1 /opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnversion.1
        if true ; then cd subversion/mod_dav_svn ; /opt/eai/ci/subversion/build/install-sh -c -d "/opt/eai/ci/subversion-1.9.5/svn/libexec" ; /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec"  -n dav_svn mod_dav_svn.la ; fi
/opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -pthread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.

-----Original Message-----
From: Joseph, Anselm
Sent: Monday, May 08, 2017 10:36 AM
To: 'Daniel Shahaf'
Cc: [hidden email]
Subject: RE: Error running make for subversion

Thank You Daniel.
I ran configure with --disable-nls and make completely successfully.
However, make install is failing with the following:
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -thread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536

-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Friday, May 05, 2017 10:03 PM
To: Joseph, Anselm
Cc: [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Fri, May 05, 2017 at 14:36:12 +0000:
> Hope you can help with this issue from a newbie.
> gcc version 4.2.0 is installed on my powerpc-ibm-aix7.1.3.0 system.
> I am trying to build gnu subversion 1.9.5 and running make after

I think you mean "Apache Subversion 1.9.5".

> gcc: unrecognized option '-qHALT=E'
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dgettext
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dngettext

The compiler can't find libintl.  Either point configure to a libintl, or pass --disable-nls to disable localised output.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.

Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
In reply to this post by Daniel Shahaf-2
I set LDFLAGS and it got rid of the libexpat warnings.
Still getting the same error with 'make install' though.
Any guidance is appreciated.
Thank you.

/opt/eai/ci/subversion/build/install-she -c -m 644 ./subversion/svnversion/svnversion.1 /opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnversion.1
        if true ; then cd subversion/mod_dav_svn ; /opt/eai/ci/subversion/build/install-sh -c -d "/opt/eai/ci/subversion-1.9.5/svn/libexec" ; /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn mod_dav_svn.la ; fi
/opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.


Stop.

-----Original Message-----
From: Joseph, Anselm
Sent: Monday, May 08, 2017 5:13 PM
To: 'Daniel Shahaf'
Cc: '[hidden email]'
Subject: RE: Error running make for subversion

I realized it is removing mod_dav_svn.so and then doing a chmod on the file in the same directory...
Not sure what's causing this on the make install...
 Thank you for any guidance...
/opt/eai/ci/subversion/build/install-sh -c -m 644 ./subversion/svnsync/svnsync.1 /opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnsync.1
/opt/eai/ci/subversion/build/install-sh -c -m 644 ./subversion/svnversion/svnversion.1 /opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnversion.1
        if true ; then cd subversion/mod_dav_svn ; /opt/eai/ci/subversion/build/install-sh -c -d "/opt/eai/ci/subversion-1.9.5/svn/libexec" ; /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec"  -n dav_svn mod_dav_svn.la ; fi /opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -pthread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536 .
make: 1254-004 The error code from the last command is 1.

-----Original Message-----
From: Joseph, Anselm
Sent: Monday, May 08, 2017 10:36 AM
To: 'Daniel Shahaf'
Cc: [hidden email]
Subject: RE: Error running make for subversion

Thank You Daniel.
I ran configure with --disable-nls and make completely successfully.
However, make install is failing with the following:
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -thread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536

-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Friday, May 05, 2017 10:03 PM
To: Joseph, Anselm
Cc: [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Fri, May 05, 2017 at 14:36:12 +0000:
> Hope you can help with this issue from a newbie.
> gcc version 4.2.0 is installed on my powerpc-ibm-aix7.1.3.0 system.
> I am trying to build gnu subversion 1.9.5 and running make after

I think you mean "Apache Subversion 1.9.5".

> gcc: unrecognized option '-qHALT=E'
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dgettext
> ld: 0711-317 ERROR: Undefined symbol: .libintl_dngettext

The compiler can't find libintl.  Either point configure to a libintl, or pass --disable-nls to disable localised output.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.

Reply | Threaded
Open this post in threaded view
|

Re: Error running make for subversion

Daniel Shahaf-2
Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
> apxs:Error: Command failed with rc=65536

Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
and can disable building it with --without-apxs to configure.

I don't have time to look into the actual problem right now, sorry.
Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
Thank you Daniel,
I ran ./configure --without-apxs and make install completed successfully.
CC='gcc' CPP='gcc -E' ./configure --prefix=/opt/eai/ci/subversion-1.9.5/svn --without-apxs --with-apr=/opt/eai/ci/httpd2.2.32/srclib/apr/apr-1-config --with-apr-util=/opt/eai/ci/httpd-2.2.32/srclib/apr-util/apu-1-config --disable-nls

-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Tuesday, May 16, 2017 6:18 PM
To: Joseph, Anselm
Cc: [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
> apxs:Error: Command failed with rc=65536

Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn and can disable building it with --without-apxs to configure.

I don't have time to look into the actual problem right now, sorry.

Reply | Threaded
Open this post in threaded view
|

Re: Error running make for subversion

Ryan Schmidt-8
In reply to this post by Daniel Shahaf-2

> On May 16, 2017, at 17:18, Daniel Shahaf <[hidden email]> wrote:
>
> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
>> apxs:Error: Command failed with rc=65536
>
> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
> and can disable building it with --without-apxs to configure.

You mean http:// and https://. mod_dav_svn isn't involved with svn:// or svn+ssh://.

Reply | Threaded
Open this post in threaded view
|

Re: Error running make for subversion

Ryan Schmidt-8

> On May 17, 2017, at 19:41, Ryan Schmidt <[hidden email]> wrote:
>
>
>> On May 16, 2017, at 17:18, Daniel Shahaf <[hidden email]> wrote:
>>
>> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
>>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
>>> apxs:Error: Command failed with rc=65536
>>
>> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
>> and can disable building it with --without-apxs to configure.
>
> You mean http:// and https://. mod_dav_svn isn't involved with svn:// or svn+ssh://.
>

And, sorry, I mis-parsed your sentence. Never mind.

Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
Thank you both for responding.
When I run configure --without-apxs, make install completes cleanly. But my problem is that mod_dav_svn.so is not building . I tried different options and still cannot get  mod_dav_svn.so to build.
When I run .configure with-apxs= /opt/eai/ci/httpd-2.2.32/apache/bin/apxs
make install fails as follows:
if true ; then cd subversion/mod_dav_svn ; /opt/eai/ci/subversion/build/install-sh -c -d "/opt/eai/ci/subversion-1.9.5/svn/libexec" ; /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn mod_dav_svn.la ; fi
/opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.


Stop.

-----Original Message-----
From: Ryan Schmidt [mailto:[hidden email]]
Sent: Wednesday, May 17, 2017 8:42 PM
To: Daniel Shahaf
Cc: Joseph, Anselm; Subversion Users
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



> On May 17, 2017, at 19:41, Ryan Schmidt <[hidden email]> wrote:
>
>
>> On May 16, 2017, at 17:18, Daniel Shahaf <[hidden email]> wrote:
>>
>> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
>>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
>>> apxs:Error: Command failed with rc=65536
>>
>> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
>> and can disable building it with --without-apxs to configure.
>
> You mean http:// and https://. mod_dav_svn isn't involved with svn:// or svn+ssh://.
>

And, sorry, I mis-parsed your sentence. Never mind.


Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
In reply to this post by Ryan Schmidt-8
Hello All,
I have been running in circles trying to fix this issue. Nothing seems to work. If you could take a couple of minutes to give some direction, it would be greatly appreciated.
Thank You

-----Original Message-----
From: Joseph, Anselm
Sent: Thursday, May 18, 2017 3:07 PM
To: 'Ryan Schmidt'; Daniel Shahaf
Cc: Subversion Users
Subject: RE: Error running make for subversion

Thank you both for responding.
When I run configure --without-apxs, make install completes cleanly. But my problem is that mod_dav_svn.so is not building . I tried different options and still cannot get  mod_dav_svn.so to build.
When I run .configure with-apxs= /opt/eai/ci/httpd-2.2.32/apache/bin/apxs
make install fails as follows:
if true ; then cd subversion/mod_dav_svn ; /opt/eai/ci/subversion/build/install-sh -c -d "/opt/eai/ci/subversion-1.9.5/svn/libexec" ; /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn mod_dav_svn.la ; fi /opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536 .
make: 1254-004 The error code from the last command is 1.


Stop.

-----Original Message-----
From: Ryan Schmidt [mailto:[hidden email]]
Sent: Wednesday, May 17, 2017 8:42 PM
To: Daniel Shahaf
Cc: Joseph, Anselm; Subversion Users
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



> On May 17, 2017, at 19:41, Ryan Schmidt <[hidden email]> wrote:
>
>
>> On May 16, 2017, at 17:18, Daniel Shahaf <[hidden email]> wrote:
>>
>> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
>>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
>>> apxs:Error: Command failed with rc=65536
>>
>> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
>> and can disable building it with --without-apxs to configure.
>
> You mean http:// and https://. mod_dav_svn isn't involved with svn:// or svn+ssh://.
>

And, sorry, I mis-parsed your sentence. Never mind.


Reply | Threaded
Open this post in threaded view
|

Re: Error running make for subversion

Daniel Shahaf-2
You could try commenting out that 'chmod' command in Makefile or
build-outputs.mk, see if that lets the build proceed further, and then effect
it manually after 'make' finishes.  (That's just a diagnostic workaround,
not a solution.)

What's your exact configure command (all arguments)?  Are you disabling
building of shared libraries in some way?

Are you building in parallel ('make -j' or local equivalent)?

Check configure's output for any errors/warnings related to httpd.  (If there's
a warning about "Assuming we use httpd 2.2+" that's normal.)

Don't have time to debug / reproduce myself, sorry.




Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +0000:

> Hello All,
> I have been running in circles trying to fix this issue. Nothing seems to work. If you could take a couple of minutes to give some direction, it would be greatly appreciated.
> Thank You
>
> -----Original Message-----
> From: Joseph, Anselm
> Sent: Thursday, May 18, 2017 3:07 PM
> To: 'Ryan Schmidt'; Daniel Shahaf
> Cc: Subversion Users
> Subject: RE: Error running make for subversion
>
> Thank you both for responding.
> When I run configure --without-apxs, make install completes cleanly. But my problem is that mod_dav_svn.so is not building . I tried different options and still cannot get  mod_dav_svn.so to build.
> When I run .configure with-apxs= /opt/eai/ci/httpd-2.2.32/apache/bin/apxs
> make install fails as follows:
> if true ; then cd subversion/mod_dav_svn ; /opt/eai/ci/subversion/build/install-sh -c -d "/opt/eai/ci/subversion-1.9.5/svn/libexec" ; /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn mod_dav_svn.la ; fi /opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec
> rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> /opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la /opt/eai/ci/subversion-1.9.5/svn/libexec/
> libtool: install: warning: relinking `mod_dav_svn.la'
> libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la )
> libtool: install: cp .libs/mod_dav_svn.aT /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> libtool: install: cp .libs/mod_dav_svn.lai /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
> chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
> apxs:Error: Command failed with rc=65536 .
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
> -----Original Message-----
> From: Ryan Schmidt [mailto:[hidden email]]
> Sent: Wednesday, May 17, 2017 8:42 PM
> To: Daniel Shahaf
> Cc: Joseph, Anselm; Subversion Users
> Subject: Re: Error running make for subversion
>
> CAUTION - EXTERNAL EMAIL
>
>
>
> > On May 17, 2017, at 19:41, Ryan Schmidt <[hidden email]> wrote:
> >
> >
> >> On May 16, 2017, at 17:18, Daniel Shahaf <[hidden email]> wrote:
> >>
> >> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
> >>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
> >>> apxs:Error: Command failed with rc=65536
> >>
> >> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn
> >> and can disable building it with --without-apxs to configure.
> >
> > You mean http:// and https://. mod_dav_svn isn't involved with svn:// or svn+ssh://.
> >
>
> And, sorry, I mis-parsed your sentence. Never mind.
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
Thank you Daniel for taking the time to answer.

The complete configure command:
 CC='gcc' CPP='gcc -E' ./configure --prefix=/opt/eai/ci/subversion-1.9.5/svn --with-apache-libexecdir=/opt/eai/ci/httpd-2.2.32/apache/modules --with-apr=/opt/eai/ci/httpd-2.2.32/srclib/apr/apr-1-config --with-apr-util=/opt/eai/ci/httpd-2.2.32/srclib/apr-util/apu-1-config --with-apxs=/opt/eai/ci/httpd-2.2.32/apache/bin/apxs --disable-nls --enable-mod-activation
Not building in parallel, just running 'make' command.
Only one set of errors in config log:
configure:5703: checking for apr_memcache_create in -laprutil-1
configure:5728: gcc -o conftest -g -O2  -g -O2 -pthread   -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE  -I/opt/eai/ci/httpd-2.2.32/srclib/
apr/include   -I/opt/eai/ci/httpd-2.2.32/srclib/apr-util/include -I/opt/eai/ci/libiconv-1.15/libiconv/lib/include -L/opt/freeware/lib  -L/op
t/eai/ci/httpd-2.2.32/srclib/apr-util -laprutil-1 conftest.c -laprutil-1   >&5
ld: 0711-317 ERROR: Undefined symbol: .apr_strtok
ld: 0711-317 ERROR: Undefined symbol: .apr_atoi64
ld: 0711-317 ERROR: Undefined symbol: .apr_pstrmemdup
...
ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
configure:5728: $? = 1
configure: failed program was:
| /* confdefs.h */
-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Tuesday, May 23, 2017 4:59 AM
To: Joseph, Anselm
Cc: [hidden email]; Ryan Schmidt
Subject: Re: Error running make for subversion

You could try commenting out that 'chmod' command in Makefile or build-outputs.mk, see if that lets the build proceed further, and then effect it manually after 'make' finishes.  (That's just a diagnostic workaround, not a solution.)

What's your exact configure command (all arguments)?  Are you disabling building of shared libraries in some way?

Are you building in parallel ('make -j' or local equivalent)?

Check configure's output for any errors/warnings related to httpd.  (If there's a warning about "Assuming we use httpd 2.2+" that's normal.)

Don't have time to debug / reproduce myself, sorry.




Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +0000:

> Hello All,
> I have been running in circles trying to fix this issue. Nothing seems to work. If you could take a couple of minutes to give some direction, it would be greatly appreciated.
> Thank You
>
> -----Original Message-----
> From: Joseph, Anselm
> Sent: Thursday, May 18, 2017 3:07 PM
> To: 'Ryan Schmidt'; Daniel Shahaf
> Cc: Subversion Users
> Subject: RE: Error running make for subversion
>
> Thank you both for responding.
> When I run configure --without-apxs, make install completes cleanly. But my problem is that mod_dav_svn.so is not building . I tried different options and still cannot get  mod_dav_svn.so to build.
> When I run .configure with-apxs=
> /opt/eai/ci/httpd-2.2.32/apache/bin/apxs
> make install fails as follows:
> if true ; then cd subversion/mod_dav_svn ;
> /opt/eai/ci/subversion/build/install-sh -c -d
> "/opt/eai/ci/subversion-1.9.5/svn/libexec" ;
> /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S
> LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn
> mod_dav_svn.la ; fi /opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh
> SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la
> /opt/eai/ci/subversion-1.9.5/svn/libexec
> rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> /opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la
> /opt/eai/ci/subversion-1.9.5/svn/libexec/
> libtool: install: warning: relinking `mod_dav_svn.la'
> libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn;
> /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent
> --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib
> -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module
> -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo
> lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo
> reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo
> reports/get-location-segments.lo reports/get-locations.lo
> reports/get-locks.lo reports/inherited-props.lo reports/log.lo
> reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo
> status.lo util.lo version.lo
> ../../subversion/libsvn_repos/libsvn_repos-1.la
> ../../subversion/libsvn_fs/libsvn_fs-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la )
> libtool: install: cp .libs/mod_dav_svn.aT
> /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> libtool: install: cp .libs/mod_dav_svn.lai
> /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
> chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
> apxs:Error: Command failed with rc=65536 .
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
> -----Original Message-----
> From: Ryan Schmidt [mailto:[hidden email]]
> Sent: Wednesday, May 17, 2017 8:42 PM
> To: Daniel Shahaf
> Cc: Joseph, Anselm; Subversion Users
> Subject: Re: Error running make for subversion
>
> CAUTION - EXTERNAL EMAIL
>
>
>
> > On May 17, 2017, at 19:41, Ryan Schmidt <[hidden email]> wrote:
> >
> >
> >> On May 16, 2017, at 17:18, Daniel Shahaf <[hidden email]> wrote:
> >>
> >> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +0000:
> >>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
> >>> apxs:Error: Command failed with rc=65536
> >>
> >> Note that if you use svn:// or svn+ssh://, you don't need
> >> mod_dav_svn and can disable building it with --without-apxs to configure.
> >
> > You mean http:// and https://. mod_dav_svn isn't involved with svn:// or svn+ssh://.
> >
>
> And, sorry, I mis-parsed your sentence. Never mind.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error running make for subversion

Daniel Shahaf-2
Joseph, Anselm wrote on Tue, 23 May 2017 12:40 +0000:
> configure:5703: checking for apr_memcache_create in -laprutil-1
> configure:5728: gcc -o conftest -g -O2  -g -O2 -pthread   -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE  -I/opt/eai/ci/httpd-2.2.32/srclib/
> apr/include   -I/opt/eai/ci/httpd-2.2.32/srclib/apr-util/include -I/opt/eai/ci/libiconv-1.15/libiconv/lib/include -L/opt/freeware/lib  -L/op
> t/eai/ci/httpd-2.2.32/srclib/apr-util -laprutil-1 conftest.c -laprutil-1   >&5
> ld: 0711-317 ERROR: Undefined symbol: .apr_strtok
> ld: 0711-317 ERROR: Undefined symbol: .apr_atoi64
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrmemdup
> ...
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup

These errors are odd: if the linker couldn't find these function,
Subversion would fail to link.  (All libraries, not just mod_dav_svn.)
But you build and install successfully without mod_dav_svn...

More below.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> configure:5728: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> -----Original Message-----
> Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +0000:
> > -----Original Message-----
> > From: Joseph, Anselm
> > Sent: Thursday, May 18, 2017 3:07 PM
> ⋮
> > libtool: install: warning: relinking `mod_dav_svn.la'
> > libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn;
> > /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent
> > --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib
> > -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module
> > -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo
> > lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo
> > reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo
> > reports/get-location-segments.lo reports/get-locations.lo
> > reports/get-locks.lo reports/inherited-props.lo reports/log.lo
> > reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo
> > status.lo util.lo version.lo
> > ../../subversion/libsvn_repos/libsvn_repos-1.la
> > ../../subversion/libsvn_fs/libsvn_fs-1.la
> > ../../subversion/libsvn_delta/libsvn_delta-1.la
> > ../../subversion/libsvn_subr/libsvn_subr-1.la )
> > libtool: install: cp .libs/mod_dav_svn.aT
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> > libtool: install: cp .libs/mod_dav_svn.lai
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
> > chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> > chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.

On my machine, the output of 'make install' contains:

libtool: install: install .libs/mod_dav_svn.soT /srv/svn/trunk/libexec/mod_dav_svn.so
libtool: install: install .libs/mod_dav_svn.lai /srv/svn/trunk/libexec/mod_dav_svn.la
libtool: install: install .libs/mod_dav_svn.a /srv/svn/trunk/libexec/mod_dav_svn.a

The interesting thing here is that on my machine, it outputs .soT and
.lai in this order, whereas on your machine, it outputs .aT and .lai and
then fails.  Perhaps configure had gotten the .so and .a endings
swapped, and thinks shared libraries are .a and static libraries .so .
Can you check that?

On my machine:

$ grep -B1 shrext_cmds= config.status libtool
config.status-libext='a'
config.status:shrext_cmds='.so'
--
libtool-# Shared library suffix (normally ".so").
libtool:shrext_cmds=".so"

I'm not sure where the 755 comes from, perhaps it's from httpd/apxs since there
are no '755' in svn's source code.

HTH.  And sorry for the delay, I haven't had a mod_dav_svn build environment
until today.

Daniel


> > apxs:Error: Command failed with rc=65536 .
> > make: 1254-004 The error code from the last command is 1.
Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
From config.status...
libext='a'
shrext_cmds='.so'

Sending the config.log for completeness. I am sure I am missing something...just don't know what.
Thank you for your help.


-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Tuesday, May 23, 2017 9:26 AM
To: Joseph, Anselm
Cc: Ryan Schmidt; [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, 23 May 2017 12:40 +0000:
> configure:5703: checking for apr_memcache_create in -laprutil-1
> configure:5728: gcc -o conftest -g -O2  -g -O2 -pthread   -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE  -I/opt/eai/ci/httpd-2.2.32/srclib/
> apr/include   -I/opt/eai/ci/httpd-2.2.32/srclib/apr-util/include -I/opt/eai/ci/libiconv-1.15/libiconv/lib/include -L/opt/freeware/lib  -L/op
> t/eai/ci/httpd-2.2.32/srclib/apr-util -laprutil-1 conftest.c -laprutil-1   >&5
> ld: 0711-317 ERROR: Undefined symbol: .apr_strtok
> ld: 0711-317 ERROR: Undefined symbol: .apr_atoi64
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrmemdup ...
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup

These errors are odd: if the linker couldn't find these function, Subversion would fail to link.  (All libraries, not just mod_dav_svn.) But you build and install successfully without mod_dav_svn...

More below.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> configure:5728: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> -----Original Message-----
> Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +0000:
> > -----Original Message-----
> > From: Joseph, Anselm
> > Sent: Thursday, May 18, 2017 3:07 PM
> ⋮
> > libtool: install: warning: relinking `mod_dav_svn.la'
> > libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn;
> > /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent
> > --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib
> > -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version
> > -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo
> > liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo
> > posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo
> > reports/file-revs.lo reports/get-location-segments.lo
> > reports/get-locations.lo reports/get-locks.lo
> > reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo
> > reports/replay.lo reports/update.lo repos.lo status.lo util.lo
> > version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la
> > ../../subversion/libsvn_fs/libsvn_fs-1.la
> > ../../subversion/libsvn_delta/libsvn_delta-1.la
> > ../../subversion/libsvn_subr/libsvn_subr-1.la )
> > libtool: install: cp .libs/mod_dav_svn.aT
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> > libtool: install: cp .libs/mod_dav_svn.lai
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
> > chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> > chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.
On my machine, the output of 'make install' contains:

libtool: install: install .libs/mod_dav_svn.soT /srv/svn/trunk/libexec/mod_dav_svn.so
libtool: install: install .libs/mod_dav_svn.lai /srv/svn/trunk/libexec/mod_dav_svn.la
libtool: install: install .libs/mod_dav_svn.a /srv/svn/trunk/libexec/mod_dav_svn.a

The interesting thing here is that on my machine, it outputs .soT and .lai in this order, whereas on your machine, it outputs .aT and .lai and then fails.  Perhaps configure had gotten the .so and .a endings swapped, and thinks shared libraries are .a and static libraries .so .
Can you check that?

On my machine:

$ grep -B1 shrext_cmds= config.status libtool config.status-libext='a'
config.status:shrext_cmds='.so'
--
libtool-# Shared library suffix (normally ".so").
libtool:shrext_cmds=".so"

I'm not sure where the 755 comes from, perhaps it's from httpd/apxs since there are no '755' in svn's source code.

HTH.  And sorry for the delay, I haven't had a mod_dav_svn build environment until today.

Daniel


> > apxs:Error: Command failed with rc=65536 .
> > make: 1254-004 The error code from the last command is 1.


config.log (101K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
In reply to this post by Daniel Shahaf-2
Also, could it be something with the mod_dav_svn package for subversion-1.9.5.tar?  There has to be a reason why mod_dav_svn.so cannot be built.
Thank You

-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Tuesday, May 23, 2017 9:26 AM
To: Joseph, Anselm
Cc: Ryan Schmidt; [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, 23 May 2017 12:40 +0000:
> configure:5703: checking for apr_memcache_create in -laprutil-1
> configure:5728: gcc -o conftest -g -O2  -g -O2 -pthread   -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE  -I/opt/eai/ci/httpd-2.2.32/srclib/
> apr/include   -I/opt/eai/ci/httpd-2.2.32/srclib/apr-util/include -I/opt/eai/ci/libiconv-1.15/libiconv/lib/include -L/opt/freeware/lib  -L/op
> t/eai/ci/httpd-2.2.32/srclib/apr-util -laprutil-1 conftest.c -laprutil-1   >&5
> ld: 0711-317 ERROR: Undefined symbol: .apr_strtok
> ld: 0711-317 ERROR: Undefined symbol: .apr_atoi64
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrmemdup ...
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup

These errors are odd: if the linker couldn't find these function, Subversion would fail to link.  (All libraries, not just mod_dav_svn.) But you build and install successfully without mod_dav_svn...

More below.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> configure:5728: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> -----Original Message-----
> Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +0000:
> > -----Original Message-----
> > From: Joseph, Anselm
> > Sent: Thursday, May 18, 2017 3:07 PM
> ⋮
> > libtool: install: warning: relinking `mod_dav_svn.la'
> > libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn;
> > /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent
> > --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib
> > -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version
> > -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo
> > liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo
> > posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo
> > reports/file-revs.lo reports/get-location-segments.lo
> > reports/get-locations.lo reports/get-locks.lo
> > reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo
> > reports/replay.lo reports/update.lo repos.lo status.lo util.lo
> > version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la
> > ../../subversion/libsvn_fs/libsvn_fs-1.la
> > ../../subversion/libsvn_delta/libsvn_delta-1.la
> > ../../subversion/libsvn_subr/libsvn_subr-1.la )
> > libtool: install: cp .libs/mod_dav_svn.aT
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> > libtool: install: cp .libs/mod_dav_svn.lai
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
> > chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> > chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or directory in the path name does not exist.

On my machine, the output of 'make install' contains:

libtool: install: install .libs/mod_dav_svn.soT /srv/svn/trunk/libexec/mod_dav_svn.so
libtool: install: install .libs/mod_dav_svn.lai /srv/svn/trunk/libexec/mod_dav_svn.la
libtool: install: install .libs/mod_dav_svn.a /srv/svn/trunk/libexec/mod_dav_svn.a

The interesting thing here is that on my machine, it outputs .soT and .lai in this order, whereas on your machine, it outputs .aT and .lai and then fails.  Perhaps configure had gotten the .so and .a endings swapped, and thinks shared libraries are .a and static libraries .so .
Can you check that?

On my machine:

$ grep -B1 shrext_cmds= config.status libtool config.status-libext='a'
config.status:shrext_cmds='.so'
--
libtool-# Shared library suffix (normally ".so").
libtool:shrext_cmds=".so"

I'm not sure where the 755 comes from, perhaps it's from httpd/apxs since there are no '755' in svn's source code.

HTH.  And sorry for the delay, I haven't had a mod_dav_svn build environment until today.

Daniel


> > apxs:Error: Command failed with rc=65536 .
> > make: 1254-004 The error code from the last command is 1.

Reply | Threaded
Open this post in threaded view
|

Re: Error running make for subversion

Daniel Shahaf-2
Joseph, Anselm wrote on Tue, 23 May 2017 15:26 +0000:
> Also, could it be something with the mod_dav_svn package for subversion-1.9.5.tar?  There has to be a reason why mod_dav_svn.so cannot be built.
> Thank You

mod_dav_svn is part of subversion-*.tar.  It might be a change in Apache httpd,
though --- I use 2.4 and I don't know how much testing 1.9 gets with 2.2.
Reply | Threaded
Open this post in threaded view
|

RE: Error running make for subversion

Joseph, Anselm
Hi Daniel et al.
I am attaching the make and install file for completeness. Maybe there is something in the make output that tells us what the issue is.
I am at a standstill...I am hesitating starting over with 2.4..
Thanks

-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Tuesday, May 23, 2017 11:47 AM
To: Joseph, Anselm
Cc: Ryan Schmidt; [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, 23 May 2017 15:26 +0000:
> Also, could it be something with the mod_dav_svn package for subversion-1.9.5.tar?  There has to be a reason why mod_dav_svn.so cannot be built.
> Thank You

mod_dav_svn is part of subversion-*.tar.  It might be a change in Apache httpd, though --- I use 2.4 and I don't know how much testing 1.9 gets with 2.2.


make1.log (365K) Download Attachment
install1.log (43K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

FW: Error running make for subversion

Joseph, Anselm
Hello all,
Any chance someone has some time to take a look at the attached files and give me some pointers. I am not making any progress at all.
Thanks in advance.

-----Original Message-----
From: Joseph, Anselm
Sent: Wednesday, May 24, 2017 5:20 PM
To: Daniel Shahaf
Cc: Ryan Schmidt; [hidden email]
Subject: RE: Error running make for subversion

Hi Daniel et al.
I am attaching the make and install file for completeness. Maybe there is something in the make output that tells us what the issue is.
I am at a standstill...I am hesitating starting over with 2.4..
Thanks

-----Original Message-----
From: Daniel Shahaf [mailto:[hidden email]]
Sent: Tuesday, May 23, 2017 11:47 AM
To: Joseph, Anselm
Cc: Ryan Schmidt; [hidden email]
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, 23 May 2017 15:26 +0000:
> Also, could it be something with the mod_dav_svn package for subversion-1.9.5.tar?  There has to be a reason why mod_dav_svn.so cannot be built.
> Thank You

mod_dav_svn is part of subversion-*.tar.  It might be a change in Apache httpd, though --- I use 2.4 and I don't know how much testing 1.9 gets with 2.2.


make1.log (365K) Download Attachment
install1.log (43K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FW: Error running make for subversion

Philip Martin
"Joseph, Anselm" <[hidden email]> writes:

> Hello all,
> Any chance someone has some time to take a look at the attached files
> and give me some pointers. I am not making any progress at all.
> Thanks in advance.

This page:

https://www.ibm.com/developerworks/aix/library/au-gnu.html

tells me that AIX has two sorts of shared libraries: native shared
libraries in .a files and SysV compatible shared libraries in .so files.

When Subversion attempts to install mod_dav_svn it delegates to Apache's
apxs, e.g. on my Linux system:

$ make -n install-mods-shared
if true ; then cd subversion/mod_dav_svn ; /usr/bin/install -c -d "/usr/local/subversion/apache" ; /usr/bin/apxs2 -i -S LIBEXECDIR="/usr/local/subversion/apache"  -n dav_svn mod_dav_svn.la ; fi
if true ; then cd subversion/mod_authz_svn ; /usr/bin/install -c -d "/usr/local/subversion/apache" ; /usr/bin/apxs2 -i -S LIBEXECDIR="/usr/local/subversion/apache"  -n authz_svn mod_authz_svn.la ; fi

Looking at your error:

libtool: install: cp .libs/mod_dav_svn.aT
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file
or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536

mod_dav_svn.a (a AIX native shared library) is being copied but the
chmod expects mod_dav_svn.so (a SysV compatible shared library).

It looks like Apache's apxs doesn't properly handle AIX native shared
libraries.

I don't know what the correct solution is on AIX.  I don't know whether
Apache on AIX expects to load .a or .so modules, or whether it can
handle both.  Are your other Apache modules .so or .a?

Perhaps there is a compiler or linker option that will get the linker to
produce SysV .so libraries instead of AIX .a libraries?

Perhaps you could modify apxs to avoid doing the chmod?

As a hack you could create dummy .so files in the installation directory
so that the chmod succeeds.

--
Philip
12