[mythtv] svn 12340 creating weird install directories at /

sean darcy seandarcy2 at gmail.com
Sun Dec 24 17:02:09 UTC 2006


I'm trying to build svn 12340. For some reason it's creating strange
install directories.

For instance from the libavcodec Makefile:

Makefile:       @$(CHK_DIR_EXISTS)
"$(INSTALL_ROOT)../../../../../../../lib64/" || $(MKDIR)
"$(INSTALL_ROOT)../../../../../../../lib64/"
Makefile:       -$(INSTALL_FILE) "$(TARGET)"
"$(INSTALL_ROOT)../../../../../../../lib64/$(TARGET)"
Makefile:       -$(SYMLINK) "$(TARGET)"
"$(INSTALL_ROOT)../../../../../../../lib64/$(TARGET0)"


which would create a directory and install files at the root level,  /lib64/....

I've looked at the output of qmake -d i18n.pro, but it looks alright.
There's no ../../.. except for the includes.

........................
DEBUG 1: Project Parser: config.mak:2 :PREFIX: :=: (/usr)
DEBUG 1: Project Parser: config.mak:3 :LIBDIR: :=: (/usr/lib64)
DEBUG 1: Project Parser: config.mak:4 :QMAKE_CC: :=: (gcc)
DEBUG 1: Project Parser: config.mak:5 :QMAKE_CXX: :=: (g++)
DEBUG 1: Project Parser: config.mak:6 :QMAKE_LINK: :=: (g++)
DEBUG 1: Project Parser: config.mak:7 :ARCHFLAGS: :=: (-march=nocona)
DEBUG 1: Project Parser: config.mak:8 :PROFILEFLAGS: :=: ()
DEBUG 1: Project Parser: config.mak:9 :OPTFLAGS: :=: (-O3 :: -Wall ::
-Wno-switch)
DEBUG 1: Project Parser: config.mak:10 :ECFLAGS: :=: ()
DEBUG 1: Project Parser: config.mak:11 :ECXXFLAGS: :=: (-Wno-non-virtual-dtor)
DEBUG 1: Project Parser: config.mak:12 :TARGET_OS: :=: (Linux)
DEBUG 1: Project Parser: config.mak:13 :TARGET_ARCH_X86_64: :=: (yes)
DEBUG 1: Project Parser: config.mak:14 :TARGET_MMX: :=: (yes)

I've used libavcodec as an example. All the Makefiles have the same problem.

libs/libmyth/mythconfig.mak looks correct:

# Automatically generated by configure - do not modify
PREFIX=/usr
LIBDIR=/usr/lib64
QMAKE_CC=gcc
QMAKE_CXX=g++
QMAKE_LINK=g++
ARCHFLAGS=-march=nocona
PROFILEFLAGS=
OPTFLAGS=-O3  -Wall -Wno-switch
ECFLAGS=
ECXXFLAGS= -Wno-non-virtual-dtor
TARGET_OS=Linux
TARGET_ARCH_X86_64=yes
TARGET_MMX=yes

configure output:

+ ./configure --enable-proc-opt --compile-type=debug --arch=nocona
--enable-mmx --prefix=/usr --libdir-name=lib64 --x11-path=/usr/include
--enable-joystick-menu --enable-lirc --enable-ivtv --enable-firewire
--enable-dvb --dvb-path=/usr/include/v4l/ --enable-audio-oss
--enable-audio-alsa --enable-audio-arts --enable-audio-jack
--enable-x11 --enable-xrandr --enable-xv --enable-xvmc
--enable-xvmc-vld --enable-xvmc-pro --enable-opengl-vsync
--disable-directfb
# Basic Settings
Compile type     debug
Compiler cache   no
DistCC           no
Install prefix   /usr
CPU              x86_64 (nocona)
Big Endian       no
MMX enabled      yes

# Input Support
Joystick menu    yes
lirc support     yes
Apple Remote     no
Video4Linux sup. yes
ivtv support     yes
FireWire support yes
DVB support      yes [/usr/include/v4l/]
DBox2 support    yes
HDHomeRun sup.   yes
IPTV support     yes

# Sound Output Support
OSS support      yes
ALSA support     yes
aRts support     yes
JACK support     yes
DTS passthrough  yes

# Video Output Support
x11 support      yes
xrandr support   yes
xv support       yes
XvMC support     yes
XvMC VLD support yes
XvMC pro support yes
XvMC OpenGL sup. no
XvMC libs        -lXvMCW
Mac acceleration no
OpenGL vsync     yes
DirectFB         no

# Misc Features
Frontend         yes
Backend          yes

# Bindings
bindings_perl    no
Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

FWIW, I tried without --enabel-proc-opt.   Same result.

Any help appreciated.

sean


More information about the mythtv-dev mailing list