Kompilation

Software besorgen und anwenden
Post Reply
Message
Author
fungs

Kompilation

#1 Post by fungs »

Ich bin wirklich unfähig, xstroke 5.12 zu kompilieren.
In der README steht nur, dass man die Makefile anpassen soll bevor man kompiliert.
In der Datei Makefile steht aber nur folgendes:
# 1 "Imakefile.c"
In der Datei Imakefile dieses:
#define IHaveSubdirs
SUBDIRS=etc
CDEBUGFLAGS=-g -ansi -ansi-error -Wall -pedantic
YFLAGS=-d
LOCAL_LIBRARIES=$(XTESTLIB) $(XLIB) $(XRENDERLIB) $(XFTLIB) -lm -ldl -lpthread
FLEX=flex
OBJS=xstroke.o args.o backing.o bresenham.o brush.o control_win.o stroke.o matrix.o \
action.o action_item.o feature.o gesture.o log.o option.o sprintf_alloc.o \
rec.o rec_callback.o rec_history.o rec_lex.o rec_mode.o rec_parse.o \
rec_engine.o grid.o regex_feature.o fixed.o \
anchor_engine.o dir_engine.o grid_engine.o raw_engine.o \
xlp.o xlp_callback.o xlp_color.o xlp_timeout.o xlp_win.o
SRCS=xstroke.c args.c backing.c bresenham.c brush.c control_win.c stroke.c matrix.c \
action.c action_item.c feature.c gesture.c log.c option.c sprintf_alloc.c \
rec.c rec_callback.c rec_history.c rec_mode.c \
rec_engine.c grid.c regex_feature.c fixed.c \
anchor_engine.c dir_engine.c grid_engine.c raw_engine.c \
xlp.c xlp_callback.c xlp_color.c xlp_timeout.c xlp_win.c

ComplexProgramTarget(xstroke)

rec.c: rec_parse.h

rec_parse.h: rec_parse_tab.h

rec_parse_tab.h: rec_parse.c
mv y.tab.h $@

rec_lex.c: rec_lex.l rec.h rec_mode.h gesture.h action.h feature.h option.h rec_parse.h rec_lex.h sprintf_
${FLEX} -t rec_lex.l > $@

clean::
rm -f rec_lex.c rec_parse.c y.tab.h rec_parse_tab.h

rec_parse.c: rec_parse.y rec.h rec_mode.h gesture.h action.h feature.h option.h
----------------------
ein einfache make bringt nur, dass keine "Targets" gefunden wurden.

Das sind alle Dateien im Verzeichnis:
>>action.c brush-image.png feature.h Makefile~ rec_history.c TODO
action.h brush-shadow.h fixed.c matrix.c rec_history.h xlp.c
action_item.c brush-shadow.png fixed.h matrix.h rec_lex.h xlp_callback.c
action_item.h ChangeLog gesture.c option.c rec_lex.l xlp_callback.h
anchor_engine.c control_win.c gesture.h option.h rec_mode.c xlp_color.c
anchor_engine.h control_win.h grab_test.c raw_engine.c rec_mode.h xlp_color.h
args.c COPYING grid.c raw_engine.h rec_parse.h xlp.h
args.h copyright grid_engine.c README rec_parse.y xlp_timeout.c
AUTHORS CVS grid_engine.h rec_baseline.c rec_private.h xlp_timeout.h
backing.c debian grid.h rec_baseline.h regex_feature.c xlp_win.c
backing.h dir_engine.c Imakefile rec.c regex_feature.h xlp_win.h
bresenham.c dir_engine.h include_stack.c rec_callback.c sprintf_alloc.c xpierc
bresenham.h doc include_stack.h rec_callback.h sprintf_alloc.h xstroke.c
brush.c etc log.c rec_engine.c stroke.c xstroke.h
brush.h familiar log.h rec_engine.h stroke.h xstroke.man
brush-image.h feature.c Makefile rec.h testy<<

Das wars!
Ach ja, am besten wärs, wenn mir jemand ein Debianpacket geben könnte (i386 natürlich)
ich weiß auch nicht wie man mit dem Unterverzeichnis ./debian umgehen soll, dass Dateien wie "rules" oder "control" beinhaltet.

Jochen

Re: Kompilation

#2 Post by Jochen »

Pakete habe ich nicht, aber ein Tipp zum Übersetzen: Verwende "xmkmf -a" (X make makefile). Das macht mit Hilfe des Imakefiles ein Makefile, dass schon an die Maschine angepasst ist. Danach sollte es ein "make" tun. Manual-Page zu xmkmf ist natürlich auch verfügbar.

Jochen

Post Reply