[mythtv-users] Installing Mythtv 0.24 on CENTOS

fergonza at imedia.pe fergonza at imedia.pe
Sun Jan 2 09:45:12 UTC 2011


I have a problem on installing Mythtv 0.24.
OS CENTOS 5.5
 ./configure --dvb-path=/usr/include/v4l --qmake=/usr/lib/qt45/bin/qmake

This works OK.

make -j 4

This works Ok.

But when I make install I will get an error:

-I.. -I../../external/FFmpeg -I/usr/X11R6/include -I. -o moc_lirc.o
moc_lirc.cpp
make[2]: *** There is no rule to construct the object
`../libmythnvctrl/libmythnvctrl-0.24.a', needed for
`libmythui-0.24.so.0.24.0'.  Stop.

This is my Makefile on libmythnvctrl

#############################################################################
# Makefile for building: libmythnvctrl-0.24.a
# Generated by qmake (2.01a) (Qt 4.5.2) on: dom ene 2 03:19:27 2011
# Project:  libmythnvctrl.pro
# Template: lib
# Command: /usr/lib/qt45/bin/qmake -unix QMAKE=/usr/lib/qt45/bin/qmake -o
Makefile libmythnvctrl.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DMMX -Di386 -D_GNU_SOURCE -DHAVE_AV_CONFIG_H
CFLAGS        = -pipe -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer
-g -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
-Wwrite-strings -Wundef -Wmissing-prototypes -O3 -fno-math-errno
-fno-tree-vectorize -w $(DEFINES)
CXXFLAGS      = -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-fomit-frame-pointer -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -w -fPIC $(DEFINES)
INCPATH       = -I../../../../lib/qt45/mkspecs/linux-g++ -I.
-I../../../../include -I../../../../local
-I../../../linux-2.6.18-194.26.1.el5.centos.plus/include -I.. -I../..
AR            = ar cqs
RANLIB        =
QMAKE         = /usr/lib/qt45/bin/qmake
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -sf
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = ./

####### Files

SOURCES       = NVCtrl.c
OBJECTS       = NVCtrl.o
DIST          = ../../../../lib/qt45/mkspecs/common/g++.conf \
		../../../../lib/qt45/mkspecs/common/unix.conf \
		../../../../lib/qt45/mkspecs/common/linux.conf \
		../../../../lib/qt45/mkspecs/qconfig.pri \
		../../../../lib/qt45/mkspecs/features/qt_functions.prf \
		../../../../lib/qt45/mkspecs/features/qt_config.prf \
		../../../../lib/qt45/mkspecs/features/exclusive_builds.prf \
		../../../../lib/qt45/mkspecs/features/default_pre.prf \
		../libmythdb/mythconfig.mak \
		../../settings.pro \
		../libs-targetfix.pro \
		../../../../lib/qt45/mkspecs/features/release.prf \
		../../../../lib/qt45/mkspecs/features/default_post.prf \
		../../../../lib/qt45/mkspecs/features/warn_off.prf \
		../../../../lib/qt45/mkspecs/features/staticlib.prf \
		../../../../lib/qt45/mkspecs/features/static.prf \
		../../../../lib/qt45/mkspecs/features/resources.prf \
		../../../../lib/qt45/mkspecs/features/uic.prf \
		../../../../lib/qt45/mkspecs/features/yacc.prf \
		../../../../lib/qt45/mkspecs/features/lex.prf \
		../../../../lib/qt45/mkspecs/features/include_source_dir.prf \
		libmythnvctrl.pro
QMAKE_TARGET  = mythnvctrl-0.24
DESTDIR       =
TARGET        = libmythnvctrl-0.24.a

first: all
####### Implicit rules

.SUFFIXES: .o .c .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"

####### Build rules

all: Makefile $(TARGET)

staticlib: $(TARGET)

$(TARGET):  $(OBJECTS) $(OBJCOMP)
	-$(DEL_FILE) $(TARGET)
	$(AR) $(TARGET) $(OBJECTS)


Makefile: libmythnvctrl.pro 
../../../../lib/qt45/mkspecs/linux-g++/qmake.conf
../../../../lib/qt45/mkspecs/common/g++.conf \
		../../../../lib/qt45/mkspecs/common/unix.conf \
		../../../../lib/qt45/mkspecs/common/linux.conf \
		../../../../lib/qt45/mkspecs/qconfig.pri \
		../../../../lib/qt45/mkspecs/features/qt_functions.prf \
		../../../../lib/qt45/mkspecs/features/qt_config.prf \
		../../../../lib/qt45/mkspecs/features/exclusive_builds.prf \
		../../../../lib/qt45/mkspecs/features/default_pre.prf \
		../libmythdb/mythconfig.mak \
		../../settings.pro \
		../libs-targetfix.pro \
		../../../../lib/qt45/mkspecs/features/release.prf \
		../../../../lib/qt45/mkspecs/features/default_post.prf \
		../../../../lib/qt45/mkspecs/features/warn_off.prf \
		../../../../lib/qt45/mkspecs/features/staticlib.prf \
		../../../../lib/qt45/mkspecs/features/static.prf \
		../../../../lib/qt45/mkspecs/features/resources.prf \
		../../../../lib/qt45/mkspecs/features/uic.prf \
		../../../../lib/qt45/mkspecs/features/yacc.prf \
		../../../../lib/qt45/mkspecs/features/lex.prf \
		../../../../lib/qt45/mkspecs/features/include_source_dir.prf
	$(QMAKE) -unix -o Makefile libmythnvctrl.pro
../../../../lib/qt45/mkspecs/common/g++.conf:
../../../../lib/qt45/mkspecs/common/unix.conf:
../../../../lib/qt45/mkspecs/common/linux.conf:
../../../../lib/qt45/mkspecs/qconfig.pri:
../../../../lib/qt45/mkspecs/features/qt_functions.prf:
../../../../lib/qt45/mkspecs/features/qt_config.prf:
../../../../lib/qt45/mkspecs/features/exclusive_builds.prf:
../../../../lib/qt45/mkspecs/features/default_pre.prf:
../libmythdb/mythconfig.mak:
../../settings.pro:
../libs-targetfix.pro:
../../../../lib/qt45/mkspecs/features/release.prf:
../../../../lib/qt45/mkspecs/features/default_post.prf:
../../../../lib/qt45/mkspecs/features/warn_off.prf:
../../../../lib/qt45/mkspecs/features/staticlib.prf:
../../../../lib/qt45/mkspecs/features/static.prf:
../../../../lib/qt45/mkspecs/features/resources.prf:
../../../../lib/qt45/mkspecs/features/uic.prf:
../../../../lib/qt45/mkspecs/features/yacc.prf:
../../../../lib/qt45/mkspecs/features/lex.prf:
../../../../lib/qt45/mkspecs/features/include_source_dir.prf:
qmake:  FORCE
	@$(QMAKE) -unix -o Makefile libmythnvctrl.pro

dist:
	@$(CHK_DIR_EXISTS) .tmp/mythnvctrl-0.240.24.0 || $(MKDIR)
.tmp/mythnvctrl-0.240.24.0
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/mythnvctrl-0.240.24.0/ &&
(cd `dirname .tmp/mythnvctrl-0.240.24.0` && $(TAR)
mythnvctrl-0.240.24.0.tar mythnvctrl-0.240.24.0 && $(COMPRESS)
mythnvctrl-0.240.24.0.tar) && $(MOVE) `dirname
.tmp/mythnvctrl-0.240.24.0`/mythnvctrl-0.240.24.0.tar.gz . && $(DEL_FILE)
-r .tmp/mythnvctrl-0.240.24.0


clean:compiler_clean
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1)
$(TARGET2)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET)
	-$(DEL_FILE) Makefile


compiler_rcc_make_all:
compiler_rcc_clean:
compiler_uic_make_all:
compiler_uic_clean:
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
	-$(DEL_FILE) qmake_image_collection.cpp
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean:

####### Compile

NVCtrl.o: NVCtrl.c NVCtrlLib.h \
		NVCtrl.h \
		nv_control.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o NVCtrl.o NVCtrl.c

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

----end file ---

when trying to make file manually:

./Makefile libmythnvctrl.pro


I get:

./Makefile: line 11: CC: command not found
./Makefile: line 12: CXX: command not found
./Makefile: line 13: DEFINES: command not found
./Makefile: line 14: DEFINES: command not found
./Makefile: line 14: CFLAGS: command not found
./Makefile: line 15: DEFINES: command not found
./Makefile: line 15: CXXFLAGS: command not found
./Makefile: line 16: INCPATH: command not found
./Makefile: line 17: AR: command not found
./Makefile: line 18: RANLIB: command not found
./Makefile: line 19: QMAKE: command not found
./Makefile: line 20: TAR: command not found
./Makefile: line 21: COMPRESS: command not found
./Makefile: line 22: COPY: command not found
./Makefile: line 23: SED: command not found
./Makefile: line 24: COPY: command not found
./Makefile: line 24: COPY_FILE: command not found
./Makefile: line 25: COPY: command not found
./Makefile: line 25: COPY_DIR: command not found
./Makefile: line 26: INSTALL_FILE: command not found
./Makefile: line 27: COPY_DIR: command not found
./Makefile: line 27: INSTALL_DIR: command not found
./Makefile: line 28: INSTALL_PROGRAM: command not found
./Makefile: line 29: DEL_FILE: command not found
./Makefile: line 30: SYMLINK: command not found
./Makefile: line 31: DEL_DIR: command not found
./Makefile: line 32: MOVE: command not found
./Makefile: line 34: MKDIR: command not found
./Makefile: line 38: OBJECTS_DIR: command not found
./Makefile: line 42: SOURCES: command not found
./Makefile: line 43: OBJECTS: command not found
./Makefile: line 44: DIST: command not found
./Makefile: line 66: QMAKE_TARGET: command not found
./Makefile: line 67: DESTDIR: command not found
./Makefile: line 68: TARGET: command not found
./Makefile: line 70: first:: command not found
./Makefile: line 73: .SUFFIXES:: command not found
./Makefile: line 75: .cpp.o:: command not found
./Makefile: line 76: CXX: command not found
./Makefile: line 76: CXXFLAGS: command not found
./Makefile: line 76: INCPATH: command not found
./Makefile: line 76: -c: command not found
./Makefile: line 78: .cc.o:: command not found
./Makefile: line 79: CXX: command not found
./Makefile: line 79: CXXFLAGS: command not found
./Makefile: line 79: INCPATH: command not found
./Makefile: line 79: -c: command not found
./Makefile: line 81: .cxx.o:: command not found
./Makefile: line 82: CXX: command not found
./Makefile: line 82: CXXFLAGS: command not found
./Makefile: line 82: INCPATH: command not found
./Makefile: line 82: -c: command not found
./Makefile: line 84: .C.o:: command not found
./Makefile: line 85: CXX: command not found
./Makefile: line 85: CXXFLAGS: command not found
./Makefile: line 85: INCPATH: command not found
./Makefile: line 85: -c: command not found
./Makefile: line 87: .c.o:: command not found
./Makefile: line 88: CC: command not found
./Makefile: line 88: CFLAGS: command not found
./Makefile: line 88: INCPATH: command not found
./Makefile: line 88: -c: command not found
./Makefile: line 92: TARGET: command not found
./Makefile: line 92: all:: command not found
./Makefile: line 94: TARGET: command not found
./Makefile: line 94: staticlib:: command not found
./Makefile: line 96: TARGET: command not found
./Makefile: line 96: OBJECTS: command not found
./Makefile: line 96: OBJCOMP: command not found
./Makefile: line 97: DEL_FILE: command not found
./Makefile: line 97: TARGET: command not found
./Makefile: line 97: -: command not found
./Makefile: line 98: AR: command not found
./Makefile: line 98: TARGET: command not found
./Makefile: line 98: OBJECTS: command not found
./Makefile: line 101: Makefile:: command not found
./Makefile: line 122: QMAKE: command not found
./Makefile: line 122: -unix: command not found
./Makefile: line 123: ../../../../lib/qt45/mkspecs/common/g++.conf:: No
existe el fichero o el directorio (file or directory doesnt exist)
./Makefile: line 124: ../../../../lib/qt45/mkspecs/common/unix.conf:: No
existe el fichero o el directorio
./Makefile: line 125: ../../../../lib/qt45/mkspecs/common/linux.conf:: No
existe el fichero o el directorio
./Makefile: line 126: ../../../../lib/qt45/mkspecs/qconfig.pri:: No existe
el fichero o el directorio
./Makefile: line 127:
../../../../lib/qt45/mkspecs/features/qt_functions.prf:: No existe el
fichero o el directorio
./Makefile: line 128:
../../../../lib/qt45/mkspecs/features/qt_config.prf:: No existe el fichero
o el directorio
./Makefile: line 129:
../../../../lib/qt45/mkspecs/features/exclusive_builds.prf:: No existe el
fichero o el directorio
./Makefile: line 130:
../../../../lib/qt45/mkspecs/features/default_pre.prf:: No existe el
fichero o el directorio
./Makefile: line 131: ../libmythdb/mythconfig.mak:: No existe el fichero o
el directorio
./Makefile: line 132: ../../settings.pro:: No existe el fichero o el
directorio
./Makefile: line 133: ../libs-targetfix.pro:: No existe el fichero o el
directorio
./Makefile: line 134: ../../../../lib/qt45/mkspecs/features/release.prf::
No existe el fichero o el directorio
./Makefile: line 135:
../../../../lib/qt45/mkspecs/features/default_post.prf:: No existe el
fichero o el directorio
./Makefile: line 136: ../../../../lib/qt45/mkspecs/features/warn_off.prf::
No existe el fichero o el directorio
./Makefile: line 137:
../../../../lib/qt45/mkspecs/features/staticlib.prf:: No existe el fichero
o el directorio
./Makefile: line 138: ../../../../lib/qt45/mkspecs/features/static.prf::
No existe el fichero o el directorio
./Makefile: line 139:
../../../../lib/qt45/mkspecs/features/resources.prf:: No existe el fichero
o el directorio
./Makefile: line 140: ../../../../lib/qt45/mkspecs/features/uic.prf:: No
existe el fichero o el directorio
./Makefile: line 141: ../../../../lib/qt45/mkspecs/features/yacc.prf:: No
existe el fichero o el directorio
./Makefile: line 142: ../../../../lib/qt45/mkspecs/features/lex.prf:: No
existe el fichero o el directorio
./Makefile: line 143:
../../../../lib/qt45/mkspecs/features/include_source_dir.prf:: No existe
el fichero o el directorio
./Makefile: line 144: qmake:: command not found
./Makefile: line 145: QMAKE: command not found
./Makefile: line 145: @: command not found
./Makefile: line 147: dist:: command not found
./Makefile: line 148: CHK_DIR_EXISTS: command not found
./Makefile: line 148: @: command not found
./Makefile: line 148: MKDIR: command not found
./Makefile: line 148: .tmp/mythnvctrl-0.240.24.0: No existe el fichero o
el directorio
./Makefile: line 149: COPY_FILE: command not found
./Makefile: line 149: SOURCES: command not found
./Makefile: line 149: DIST: command not found
./Makefile: line 149: --parents: command not found
./Makefile: line 152: clean:compiler_clean: command not found
./Makefile: line 153: DEL_FILE: command not found
./Makefile: line 153: OBJECTS: command not found
./Makefile: line 153: -: command not found
./Makefile: line 154: DEL_FILE: command not found
./Makefile: line 154: TARGET: command not found
./Makefile: line 154: TARGETA: command not found
./Makefile: line 154: TARGETD: command not found
./Makefile: line 154: TARGET0: command not found
./Makefile: line 154: TARGET1: command not found
./Makefile: line 154: TARGET2: command not found
./Makefile: line 154: -: command not found
./Makefile: line 155: DEL_FILE: command not found
./Makefile: line 155: -: command not found
./Makefile: line 160: distclean:: command not found
./Makefile: line 161: DEL_FILE: command not found
./Makefile: line 161: TARGET: command not found
./Makefile: line 161: -: command not found
./Makefile: line 162: DEL_FILE: command not found
./Makefile: line 162: -: command not found
./Makefile: line 165: compiler_rcc_make_all:: command not found
./Makefile: line 166: compiler_rcc_clean:: command not found
./Makefile: line 167: compiler_uic_make_all:: command not found
./Makefile: line 168: compiler_uic_clean:: command not found
./Makefile: line 169: compiler_image_collection_make_all:: command not found
./Makefile: line 170: compiler_image_collection_clean:: command not found
./Makefile: line 171: DEL_FILE: command not found
./Makefile: line 171: -: command not found
./Makefile: line 172: compiler_yacc_decl_make_all:: command not found
./Makefile: line 173: compiler_yacc_decl_clean:: command not found
./Makefile: line 174: compiler_yacc_impl_make_all:: command not found
./Makefile: line 175: compiler_yacc_impl_clean:: command not found
./Makefile: line 176: compiler_lex_make_all:: command not found
./Makefile: line 177: compiler_lex_clean:: command not found
./Makefile: line 178: compiler_clean:: command not found
./Makefile: line 182: NVCtrl.o:: command not found
./Makefile: line 185: CC: command not found
./Makefile: line 185: CFLAGS: command not found
./Makefile: line 185: INCPATH: command not found
./Makefile: line 185: -c: command not found
./Makefile: line 189: install:: command not found
./Makefile: line 191: uninstall:: command not found
./Makefile: line 193: FORCE:: command not found


Any Ideas how to go ahead.

Thaks

anibal




More information about the mythtv-users mailing list