svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Archive of historical development discussions
Discussions / Development has moved to GitHub
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
germsteel
Posts: 4
Joined: Fri Jul 04, 2014 2:10 am

svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Post by germsteel »

Followed the compile guide. Manually installed
autoconf, automake, pkg-config, XQuarts

log/build.txt

checking whether we are cross compiling... checking for suffix of object files... checking for suffix of object files... checking whether we are cross compiling... configure: error: in `/Users/pelamis/peldocs/handbrake-svn/build/contrib/yasm/yasm-1.2.0':
configure: error: in `/Users/pelamis/peldocs/handbrake-svn/build/contrib/freetype/freetype-2.4.7/builds/unix':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... make[2]: *** [setup] Error 1
make[1]: *** [contrib/freetype/.stamp.configure] Error 2
make[1]: *** [contrib/yasm/.stamp.configure] Error 1

checking dmalloc.h usability... no
checking for malloc.h... no
checking stdarg.h usability... no
checking dmalloc.h presence... no
checking stdarg.h presence... yes
configure: WARNING: stdarg.h: present but cannot be compiled
configure: WARNING: stdarg.h: check for missing prerequisite headers?
configure: WARNING: stdarg.h: see the Autoconf documentation
configure: WARNING: stdarg.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdarg.h: proceeding with the preprocessor's result
configure: WARNING: stdarg.h: in the future, the compiler will take precedence
checking for stdarg.h... yes
no
checking for dmalloc.h... no
checking for ANSI C header files... (cached) no
checking errno.h usability... checking for sys/stat.h... (cached) no
checking for sys/types.h... (cached) no
checking for stdint.h... (cached) no
checking inttypes.h.h usability... no
checking errno.h presence... no
checking inttypes.h.h presence... no
checking for errno.h... no
no
checking for inttypes.h.h... no
checking fcntl.h usability... checking time.h usability... no
checking time.h presence... no
checking fcntl.h presence... no
checking for time.h... no
no
checking for fcntl.h... no
checking ansidecl.h usability... checking limits.h usability... no
no
checking limits.h presence... checking ansidecl.h presence... yes
configure: WARNING: limits.h: present but cannot be compiled
configure: WARNING: limits.h: check for missing prerequisite headers?
configure: WARNING: limits.h: see the Autoconf documentation
configure: WARNING: limits.h: section "Present But Cannot Be Compiled"
configure: WARNING: limits.h: proceeding with the preprocessor's result
configure: WARNING: limits.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to lame-dev@lists.sf.net ##
configure: WARNING: ## ------------------------------------ ##

config.status: executing libtool commands
rm: libtoolT: No such file or directory
Done configuring
touch contrib/libxml2/.stamp.configure
Showing first 200 notices only

** BUILD FAILED **


The following build commands failed:
ExternalBuildToolExecution external
(1 failure)
make: *** [macosx.build] Error 65


... and so on and so forth ...

searched forums and all. Any ideas?
Deleted User 11865

Re: svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Post by Deleted User 11865 »

Try removing autoconf, automake and pkg-config, then a clean build please.
germsteel
Posts: 4
Joined: Fri Jul 04, 2014 2:10 am

Re: svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Post by germsteel »

Thanks for the suggestion, I still get this:

Code: Select all

config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
Done configuring
touch contrib/libxml2/.stamp.configure
Showing first 200 notices only

** BUILD FAILED **

The following build commands failed:
	ExternalBuildToolExecution external
(1 failure)
make: *** [macosx.build] Error 65

configure also did not find wget in the contrib directory.
Deleted User 11865

Re: svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Post by Deleted User 11865 »

Please post a full build log (e.g. to a pastebin website then provide the link).

Also, FWIW, while troubleshooting build issues make sure you're not specifying --launch-jobs or setting it to 1, so that the log is sequential and thus readable.
germsteel
Posts: 4
Joined: Fri Jul 04, 2014 2:10 am

Re: svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Post by germsteel »

./configure --launch --debug=max

Here is the full log/build.txt:
http://pastebin.com/SZpWgJ8C

Thanks
Deleted User 11865

Re: svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Post by Deleted User 11865 »

It's not necessarily the issue, but you're using a third-party automake/autoconf with the Apple build of libtool. If you're not going to source your own automake/autoconf/libtool/m4 (i.e. all four), remove them and let the build system use its own versions of them.
germsteel
Posts: 4
Joined: Fri Jul 04, 2014 2:10 am

Re: svn6226 builds fails on OS X 10.9.3 Xcode 5.1.1

Post by germsteel »

Build succeeded!

I had not installed the Xcode 5.1.1 Developer command line utilities by running:
xcode-select -install

I removed the /usr/local/bin/auto* I had previously installed.

If the compile wiki page at:
https://trac.handbrake.fr/wiki/CompileGuide

could be updated that would be great.

Thanks for your help.
Post Reply