LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2004, 02:16 PM   #1
Samppa72
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Rep: Reputation: 0
Angry Compiling errors with mythtv... make doesnt find correct path


I have mandrake 10 distro and I have succesfully compiled some programs on it..
Recently i bought a digital video card (dvb) and discovered, that MythTV rpms dont by default offer dvb support, so I needed a recompile. I first removed any myth rpm and got the 0.15 tar.bz2 version of mythtv..

I tried to compile the thing, with following output:


> cd mythtv-0.15.1
> /configure

Please note that these settings only deal with libavcodec, not MythTV.
CPU x86
Big Endian no
MMX enabled yes
Vector Builtins yes
Creating config.mak and config.h

> qmake mythtv.pro
> make

cd libs && qmake libs.pro -o Makefile
/bin/sh: line 1: cd: libs: No such file or directory

make: *** [libs/Makefile] Error 1

---- So what seems to be obvious, that the makefile that qmake does tries to cd to libs directory , which IS under mythtv-0.15.1. Go and figure.


So I tried to make mythtv from SRPM (PLF). same version, same kind of symptoms;

rpm -ba mythtv.spec
Executing(%prep): /bin/sh -e /home/samppa/rpm/tmp/rpm-tmp.31902
+umask 022
+cd /home/samppa/rpm/BUILD
+cd /home/samppa/rpm/BUILD
+rm -rf mythtv-0.15.1
+/usr/bin/bzip2 -dc /home/samppa/rpm/SOURCES/mythtv-0.15.1.tar.bz2
+tar -xf -
+STATUS=0
+'[' 0 -ne 0 ']'
+cd mythtv-0.15.1
/home/samppa/rpm/tmp/rpm-tmp.31902: line 29: cd: mythtv-0.15.1: No such file or directory
virhe: Bad exit status from /home/samppa/rpm/tmp/rpm-tmp.31902 (%prep)


RPM build errors:
Bad exit status from /home/samppa/rpm/tmp/rpm-tmp.31902 (%prep)


Again, the mythtv-0.15.1 folder IS under rpm/BUILD and rpm/SOURCES. This error repeats itself when root also.
Im lost.... PLS HELP


below the Makefile that qmake mythtv.pro made;

#############################################################################
# Makefile for building: mythtv
# Generated by qmake (1.06c) (Qt 3.2.3) on: Mon Aug 16 18:50:37 2004
# Project: mythtv.pro
# Template: subdirs
# Command: $(QMAKE) -o Makefile mythtv.pro
#############################################################################

MAKEFILE = Makefile
QMAKE = qmake
DEL_FILE = rm -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
SUBTARGETS = \
sub-libs \
sub-filters \
sub-programs \
sub-themes \
sub-setup \
sub-i18n

first: all

all: Makefile $(SUBTARGETS)

libs/$(MAKEFILE):
@$(CHK_DIR_EXISTS) "libs" || $(MKDIR) "libs"
cd libs && $(QMAKE) libs.pro -o $(MAKEFILE)
sub-libs: libs/$(MAKEFILE) FORCE
cd libs && $(MAKE) -f $(MAKEFILE)

filters/$(MAKEFILE):
@$(CHK_DIR_EXISTS) "filters" || $(MKDIR) "filters"
cd filters && $(QMAKE) filters.pro -o $(MAKEFILE)
sub-filters: filters/$(MAKEFILE) FORCE
cd filters && $(MAKE) -f $(MAKEFILE)

programs/$(MAKEFILE):
@$(CHK_DIR_EXISTS) "programs" || $(MKDIR) "programs"
cd programs && $(QMAKE) programs.pro -o $(MAKEFILE)
sub-programs: programs/$(MAKEFILE) FORCE
cd programs && $(MAKE) -f $(MAKEFILE)

themes/$(MAKEFILE):
@$(CHK_DIR_EXISTS) "themes" || $(MKDIR) "themes"
cd themes && $(QMAKE) themes.pro -o $(MAKEFILE)
sub-themes: themes/$(MAKEFILE) FORCE
cd themes && $(MAKE) -f $(MAKEFILE)

setup/$(MAKEFILE):
@$(CHK_DIR_EXISTS) "setup" || $(MKDIR) "setup"
cd setup && $(QMAKE) setup.pro -o $(MAKEFILE)
sub-setup: setup/$(MAKEFILE) FORCE
cd setup && $(MAKE) -f $(MAKEFILE)

i18n/$(MAKEFILE):
@$(CHK_DIR_EXISTS) "i18n" || $(MKDIR) "i18n"
cd i18n && $(QMAKE) i18n.pro -o $(MAKEFILE)
sub-i18n: i18n/$(MAKEFILE) FORCE
cd i18n && $(MAKE) -f $(MAKEFILE)

Makefile: mythtv.pro /usr/lib/qt3/mkspecs/default/qmake.conf
$(QMAKE) -o Makefile mythtv.pro
qmake: qmake_all
@$(QMAKE) -o Makefile mythtv.pro

all: $(SUBTARGETS)
qmake_all: libs/$(MAKEFILE) filters/$(MAKEFILE) programs/$(MAKEFILE) themes/$(MAKEFILE) setup/$(MAKEFILE) i18n/$(MAKEFILE)
( [ -d libs ] && cd libs ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
( [ -d filters ] && cd filters ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
( [ -d programs ] && cd programs ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
( [ -d themes ] && cd themes ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
( [ -d setup ] && cd setup ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
( [ -d i18n ] && cd i18n ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE
( [ -d libs ] && cd libs ; $(MAKE) -f $(MAKEFILE) $@; ) || true
( [ -d filters ] && cd filters ; $(MAKE) -f $(MAKEFILE) $@; ) || true
( [ -d programs ] && cd programs ; $(MAKE) -f $(MAKEFILE) $@; ) || true
( [ -d themes ] && cd themes ; $(MAKE) -f $(MAKEFILE) $@; ) || true
( [ -d setup ] && cd setup ; $(MAKE) -f $(MAKEFILE) $@; ) || true
( [ -d i18n ] && cd i18n ; $(MAKE) -f $(MAKEFILE) $@; ) || true
uninstall_subdirs: qmake_all FORCE
( [ -d libs ] && cd libs ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
( [ -d filters ] && cd filters ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
( [ -d programs ] && cd programs ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
( [ -d themes ] && cd themes ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
( [ -d setup ] && cd setup ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
( [ -d i18n ] && cd i18n ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
install_subdirs: qmake_all FORCE
( [ -d libs ] && cd libs ; $(MAKE) -f $(MAKEFILE) install; ) || true
( [ -d filters ] && cd filters ; $(MAKE) -f $(MAKEFILE) install; ) || true
( [ -d programs ] && cd programs ; $(MAKE) -f $(MAKEFILE) install; ) || true
( [ -d themes ] && cd themes ; $(MAKE) -f $(MAKEFILE) install; ) || true
( [ -d setup ] && cd setup ; $(MAKE) -f $(MAKEFILE) install; ) || true
( [ -d i18n ] && cd i18n ; $(MAKE) -f $(MAKEFILE) install; ) || true
distclean: qmake_all FORCE
( [ -d libs ] && cd libs ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
( [ -d filters ] && cd filters ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
( [ -d programs ] && cd programs ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
( [ -d themes ] && cd themes ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
( [ -d setup ] && cd setup ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
( [ -d i18n ] && cd i18n ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true

install: all install_subdirs

uninstall: uninstall_subdirs

FORCE:
 
Old 08-17-2004, 07:41 AM   #2
Samppa72
LQ Newbie
 
Registered: Sep 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Myabe I should add to this, that suddenly the "make xconfig" with kernel 2.5.7.sds does not work correctly, probaply part of my problem. The fonts that kconfig uses are nothing but nonsense symbols.... What is causing this??? any1?
 
Old 08-17-2004, 01:42 PM   #3
kolchuga
Member
 
Registered: Feb 2004
Location: Belarus
Distribution: Mandrake 9.2+, Knoppix 3.4 Redhat 9
Posts: 53

Rep: Reputation: 15
same problem here, I tried to load Mythtv from CVS on terminal, and i get errors.

see if you can go to www.linuxtv.org, and download the latest dvb drivers, it inclused mythtv... Im having problems on Mandrake 10 official. My problem hangs up on make command.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling the Kernel - errors in make menuconfig ARCH=um donoh Ubuntu 2 04-11-2005 01:43 PM
Compiling Errors when : [$ make] Maxwell Rain Linux - General 4 07-20-2004 08:35 PM
make errors while compiling a kernel naild2thefloor *BSD 4 02-28-2004 03:43 PM
Make Segfaults Or Spews Random Errors When Compiling 2.6 kernel johnleemk Linux - Software 3 01-04-2004 03:24 PM
MythTV make errors. liguorir Linux - Software 1 09-08-2003 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration