Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

31.12.2008, 10:41

ttmkfdir für mainactor lässt sich nicht installieren

Hallo
Ich möchte mainactor über layman installieren,scheitere jedoch schon an ttmkfdir.

folgendes aus der Log:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/work/ttmkfdir-3.0.9 ...
make -j3 CXX=i686-pc-linux-gnu-g++ 'OPTFLAGS=-march=athlon64 -pipe' DEBUG=
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=athlon64 -pipe -o ttmkfdir.o -c
ttmkfdir.cpp
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=athlon64 -pipe -o directory.o -
c directory.cpp
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=athlon64 -pipe -o commandline.o
-c commandline.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [commandline.o] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [ttmkfdir.o] Error 1
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [directory.o] Error 1
*
* ERROR: x11-apps/ttmkfdir-3.0.9-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2357: Called die
* The specific snippet of code:
* emake CXX="$(tc-getCXX)" OPTFLAGS="${CXXFLAGS}" DEBUG="" || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/temp/environment'.


Ist das ganze ein Bug oder gibt es noch Rettung?

Danke im vorraus.

cu
four-strings E-A-D-G

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »getting« (05.01.2009, 18:16)


2

02.01.2009, 11:49

Nun: https://bugs.gentoo.org/show_bug.cgi?id=75223 ... ABER: das ganze ist 4 Jahre alt und an sich ja gelöst.

Ich denke, das es bei dir nicht klar kommt, liegt an was anderem. Was mir ein wenig seltsam vorkommt ist

Quellcode

1
... CXX=i686-pc-linux-gnu-g++ 'OPTFLAGS=-march=athlon64 ...


Also: einerseits i686 (== 32Bit) andererseits arch=athlon64 (== 64Bit). Und eben dieser Fehler hat etwas mit den Compilersettings zu tun.

Sind für dich deine Compiler-Settings ok?
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

3

02.01.2009, 22:01

Hallo

Ich dachte amd64=64bit und athlon64=32bit. Ich habe auf meinem Laptop einen "AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57".
Bis jetzt gab es keine Probleme.Welchen CPU-Typ kann man nun nehmen? k8 oder athlon-xp?
Muß ich danach noch etwas anpassen?
Das Programm "Mainactor" sollte ein Ersatz für das Windows Programm "Magix Fotos auf CD und DVD" werden,da ich Windows runtergeschmissen habe.
Es hat mich einmal zuviel geärgert. Sch... Beta OS.

cu
four-strings E-A-D-G

4

02.01.2009, 22:27

Nabend und Frohes Neues..2009
Bis jetzt gab es keine Probleme.Welchen CPU-Typ kann man nun nehmen? k8 oder athlon-xp?
Muß ich danach noch etwas anpassen?
Eigentlich sollte "-march=k8" korrekt sein, du kannst es in diesen Fall um sicher zu gehen ruhig mal mit "-march=athlon-xp" probieren, grundsätzlich sind beide Parameter ok. Weitere Anpassungen sind nicht nötig.
Ab >=gcc-4.2 kann auch "-march=native" verwendet werden.

MfG

5

03.01.2009, 13:55

Hallo

Ich habe nun verschiedene CPU-Typen ausprobiert. -march=k8, athlon-xp,native und auch i686. Es funzt nicht.

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/work/ttmkfdir-3.0.9 ...
make -j3 CXX=i686-pc-linux-gnu-g++ 'OPTFLAGS=-march=k8 -pipe' DEBUG=
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=k8 -pipe -o ttmkfdir.o -c ttmkfdir.cpp
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=k8 -pipe -o directory.o -c directory.cpp
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -march=k8 -pipe -o commandline.o -c commandline.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [directory.o] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [commandline.o] Error 1
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [ttmkfdir.o] Error 1
*
* ERROR: x11-apps/ttmkfdir-3.0.9-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2367: Called die
* The specific snippet of code:
* emake CXX="$(tc-getCXX)" OPTFLAGS="${CXXFLAGS}" DEBUG="" || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-apps/ttmkfdir-3.0.9-r3/temp/environment'.
*

cu
four-strings E-A-D-G

6

04.01.2009, 10:27

Hast du den Tip auf der URL, welch eich gepostet habe probiert?

Zitat

removing the...
CXX="$(tc-getCXX)" \
from src_compile() allows for it to compile fine for me...
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

7

04.01.2009, 16:18

Ich muß zugeben das ich nicht weiß wie das gemeint ist.Hätte ich auch gleich zugeben können,falscher Stolz bringt nichts.
Wenn ich die ttmkfdir-3.0.9.tar.bz2 entpacke habe ich folgende Files:
Makefile builtin.cpp commandline.h directory.h encoding.h panose.h ttf.cpp ttmkfdir.cpp ttmkfdir.spec util.h
README commandline.cpp directory.cpp encoding.cpp encoding.l test.enc ttf.h ttmkfdir.h ttos2val.h

Muß ich jetzt etwas aus dem Makefile löschen?
Makefile:

NAME=ttmkfdir
VERSION=$(shell rpm -q --qf "%{version}\n" --specfile $(NAME).spec | head -1)
RELEASE=$(shell rpm -q --qf "%{release}\n" --specfile $(NAME).spec | head -1)

CVSTAG = r$(subst .,_,$(VERSION))
CVSROOT = $(shell cat CVS/Root)

# Autodetec the proper command used to build RPM packages
RPMBUILD=$(shell [ -x /usr/bin/rpmbuild ] && echo rpmbuild || echo rpm)

FREETYPE_INCL=$(shell freetype-config --cflags)
FREETYPE_LIB=$(shell freetype-config --libs)

OPTFLAGS=
DEBUG=-ggdb
CXX=g++
CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG) $(OPTFLAGS)
LDFLAGS=$(FREETYPE_LIB) $(DEBUG)

DESTDIR=
PREFIX=/usr
BINDIR=$(PREFIX)/bin

.PHONY: clean

all: ttmkfdir

.cpp.o:
libtool --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^

ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o
libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS)

parser.cpp: encoding.l
flex -i -8 -o$@ $<

install:
mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 ttmkfdir $(DESTDIR)$(BINDIR)

clean:
-rm -f *.o *.lo *~ ttmkfdir core parser.cpp
rmdir .libs

tag:
cvs -d $(CVSROOT) tag $(CVSTAG)

force-tag:
cvs -d $(CVSROOT) tag -F $(CVSTAG)

archive:
@rm -rf /tmp/$(NAME)-$(VERSION) /tmp/$(NAME)
@cd /tmp; cvs -d $(CVSROOT) export -r $(CVSTAG) $(NAME)
@mv /tmp/$(NAME) /tmp/$(NAME)-$(VERSION)
@dir=$$PWD; cd /tmp; tar cf - $(NAME)-$(VERSION) | bzip2 -9 - > $$dir/$(NAME)-$(VERSION).tar.bz2
@rm -rf /tmp/$(NAME)-$(VERSION)
@echo "Wrote: $(NAME)-$(VERSION).tar.bz2"

tarball: archive
srpm:
@echo "The general purpose 'srpm' target is not currently implemented"

# Private target, if you need to, copy it to a new target first and then
# modify it <mharris@redhat.com>
srpm-mh:
@echo Creating src.rpm
@mkdir -p $(HOME)/rpmbuild/$(NAME)-$(VERSION)
@mv $(NAME)-$(VERSION).tar.bz2 $(HOME)/rpmbuild/$(NAME)-$(VERSION)/
@cp $(NAME).spec $(HOME)/rpmbuild/$(NAME)-$(VERSION)/
@pushd $(HOME)/rpmbuild/$(NAME)-$(VERSION) &> /dev/null ; $(RPMBUILD) --nodeps -bs $(NAME).spec ; popd &> /dev/null
@echo SRPM is: $(HOME)/rpmbuild/SRPMS/$(NAME)-$(VERSION)-$(RELEASE).src.rpm


cu
four-strings E-A-D-G

8

05.01.2009, 08:14

Oh nein ... die Zeile ist im ebuild!

In der Datei /usr/portage/x11-apps/ttmkfdir/ttmkfdir-3.0.9-r3.ebuild gibt es die Stelle:

Quellcode

1
2
3
4
5
6
7
8
9
10
...
src_compile() {
    filter-flags -O -O? -foptimize-sibling-calls -fstack-protector
    emake \
        CXX="$(tc-getCXX)" \
        OPTFLAGS="${CXXFLAGS}" \
        DEBUG="" \
        || die "emake failed"
}
...

Da nimmst du die erwähnte stelle raus. Anschließend läßt du ein

Quellcode

1
# ebuild /usr/portage/x11-apps/ttmkfdir/ttmkfdir-3.0.9-r3.ebuild manifest
laufen und versuchst es erneut ...

So war das gemeint ;)
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

9

05.01.2009, 18:15

Hallo

Es hat funktioniert.
Danke für Deine Hilfe.

cu
four-strings E-A-D-G