libtool
[Top][All Lists]
Advanced

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

failure during build - Tpo file not found


From: Jared Nance
Subject: failure during build - Tpo file not found
Date: Thu, 14 May 2009 21:04:46 -0700

Hello-
Sorry if this is an obvious or previously answered problem, but I am having trouble building a library using automake and I am stuck trying to resolve it. This is my first time using Autotools, but I have been lured by the fact that I do my development on a mac, my legwork on a cluster, and I am at the point where I need to distribute my code to collaborators and wish to make my life as easy as possible when it comes to working in a varying build environment. So, the problem:

When I do a 'make', I get the following output:

[maxwell] ~/Code/git_repos/ta_autotools/trackanalysis ~ make
make  all-recursive
Making all in src
make[2]: Nothing to be done for `all'.
Making all in lib
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. - I.. -L/usr/local/root/Current/lib/root -I/usr/local/root/Current/ include/root -lCore -lRIO -lTree -lcint -lPhysics -I/src/stlplus -I/ include -L/lib -lRATEvent_Darwin-g++ -g -O2 -MT libTrackAnalysis_la- dictTOP.lo -MD -MP -MF .deps/libTrackAnalysis_la-dictTOP.Tpo -c -o libTrackAnalysis_la-dictTOP.lo `test -f 'dictTOP.C' || echo './'`dictTOP.C mv -f .deps/libTrackAnalysis_la-dictTOP.Tpo .deps/libTrackAnalysis_la- dictTOP.Plo mv: rename .deps/libTrackAnalysis_la-dictTOP.Tpo to .deps/ libTrackAnalysis_la-dictTOP.Plo: No such file or directory
make[2]: *** [libTrackAnalysis_la-dictTOP.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

My makefile.am's look like:
##Top directory
[maxwell] ~/Code/git_repos/ta_autotools/trackanalysis ~ cat Makefile.am
SUBDIRS=lib
[maxwell] ~/Code/git_repos/ta_autotools/trackanalysis ~ cat lib/ Makefile.am
dictTOP.C:
rootcint ./dictTOP.C -c -p ../include/TrackedOpticalPhoton.hpp ../ include/LinkDef.h

lib_LTLIBRARIES=libTrackAnalysis.la
libTrackAnalysis_la_SOURCES= dictTOP.C dictTOP.h src/ TrackedOpticalPhoton.cpp libTrackAnalysis_la_CPPFLAGS= -L$(ROOTSYS)/lib/root -I$(ROOTSYS)/ include/root -lCore -lRIO -lTree -lcint -lPhysics -I$(RATROOT)/src/ stlplus -I$(RATROOT)/include -L$(RATROOT)/lib -lRATEvent_Darwin-g++

It's not just out of its mind:
[maxwell] ~/Code/git_repos/ta_autotools/trackanalysis/lib ~ ls .deps
libTrackAnalysis_la-TrackedOpticalPhoton.Plo libTrackAnalysis_la- dictTOP.Plo

I thought maybe the issue was dependency tracking (mainly because I wasn't sure where else to turn). ./configure --disable-dependency- tracking && make returns simply a very similar error. The output from configure:
[maxwell] ~/Code/git_repos/ta_autotools/trackanalysis ~ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i386-apple-darwin9.6.2
checking host system type... i386-apple-darwin9.6.2
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if gcc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a directory
no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if gcc static flag -static works... rm: conftest.dSYM: is a directory
no
checking if gcc supports -c -o file.o... rm: conftest.dSYM: is a directory
yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.6.2 dyld
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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking for ld used by g++... /usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking whether the g++ linker (/usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if g++ static flag -static works... rm: conftest.dSYM: is a directory
no
checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory
yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.6.2 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fno-common
checking if gfortran PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if gfortran static flag -static works... rm: conftest.dSYM: is a directory
no
checking if gfortran supports -c -o file.o... rm: conftest.dSYM: is a directory
yes
checking whether the gfortran linker (/usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.6.2 dyld
checking how to hardcode library paths into programs... immediate
checking for main in -lCore... no
checking for main in -lPhysics... no
checking for main in -lRIO... no
checking for main in -lTree... no
checking for main in -lcint... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for sqrt... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Any information you can shed or advice you can give would be most helpful. Thanks very much in advance!

--------------------------------------------------------------
Jared Nance
University of Washington
Center For Experimental Nuclear Physics and Astrophysics
address@hidden
(206)616-3113








reply via email to

[Prev in Thread] Current Thread [Next in Thread]