Archief - instalatie flex

Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.

[-AoLP-]Carp

Legacy Member
ik heb flex-2.5.4a.tar.gz gedouwnloud, uitgepakt en in de readme gelezen dat ik
eerst ./configure moet typen dan bekom ik dit :

[matthias@localhost flex-2.5.4]$ ./configure
creating cache ./config.cache
checking whether ln -s works... yes
checking for bison... no
checking for byacc... no
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets $MAKE... yes
checking for working const... yes
checking how to run the C preprocessor... gcc -E
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking for string.h... yes
checking for malloc.h... yes
checking for sys/types.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h



dan moest ik make install indruken in konsole:

[matthias@localhost flex-2.5.4]$ make install
cp ./initscan.c scan.c
touch .bootstrap
gcc -c -I. -I. -g -O ccl.c
gcc -c -I. -I. -g -O dfa.c
gcc -c -I. -I. -g -O ecs.c
gcc -c -I. -I. -g -O gen.c
gcc -c -I. -I. -g -O main.c
gcc -c -I. -I. -g -O misc.c
gcc -c -I. -I. -g -O nfa.c
yacc -d ./parse.y
make: yacc: Commando niet gevonden
make: *** [parse.c] Fout 127

hij heeft dus een fout maar aan wat ligt het ik heb al een heel pak rpmdrake geinstaleerd maar ik weet niet aan wat het ligt ( ik gebruik nu mandrake
:p)

dJeez

Legacy Member
Yacc (Yet Another Compiler Compiler) ontbreekt, maar bij de huidige distributies is yacc vervangen door bison, installeer dus bison eerst. Maar waarom installeer je eigenlijk van source en niet via RPMs?

[-AoLP-]Carp

Legacy Member
omdat er ik geen rpm kon douwnlouden en ik ben bezig met bison aan het instaleren maar dat zin maar 2bestanden :s (achter de instalatie)

[-AoLP-]Carp

Legacy Member
[root@localhost bison-1.35]# make install
Making install in config
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/config'
make[2]: Entering directory `/home/matthias/Desktop/bison-1.35/config'
make[2]: Niets te doen voor `install-exec-am'.
make[2]: Niets te doen voor `install-data-am'.
make[2]: Leaving directory `/home/matthias/Desktop/bison-1.35/config'
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/config'
Making install in intl
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/intl'
if test "bison" = "gettext" \
&& test '' = 'intl-compat.o'; then \
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/lib /usr/local/include; \
/usr/bin/install -c -m 644 libintl.h /usr/local/include/libintl.h; \
@LIBTOOL@ --mode=install \
/usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
else \
: ; \
fi
if test 'no' = yes; then \
test yes != no || /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/lib; \
temp=/usr/local/lib/t-charset.alias; \
dest=/usr/local/lib/charset.alias; \
if test -f /usr/local/lib/charset.alias; then \
orig=/usr/local/lib/charset.alias; \
sed -f ref-add.sed $orig > $temp; \
/usr/bin/install -c -m 644 $temp $dest; \
rm -f $temp; \
else \
if test yes = no; then \
orig=charset.alias; \
sed -f ref-add.sed $orig > $temp; \
/usr/bin/install -c -m 644 $temp $dest; \
rm -f $temp; \
fi; \
fi; \
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share/locale; \
test -f /usr/local/share/locale/locale.alias \
&& orig=/usr/local/share/locale/locale.alias \
|| orig=./locale.alias; \
temp=/usr/local/share/locale/t-locale.alias; \
dest=/usr/local/share/locale/locale.alias; \
sed -f ref-add.sed $orig > $temp; \
/usr/bin/install -c -m 644 $temp $dest; \
rm -f $temp; \
else \
: ; \
fi
if test "bison" = "gettext"; then \
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share/gettext/intl; \
/usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
/usr/bin/install -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; \
dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \
for file in $dists; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/share/gettext/intl/$file; \
done; \
chmod a+x /usr/local/share/gettext/intl/config.charset; \
dists="plural.c"; \
for file in $dists; do \
if test -f $file; then dir=.; else dir=.; fi; \
/usr/bin/install -c -m 644 $dir/$file \
/usr/local/share/gettext/intl/$file; \
done; \
dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
for file in $dists; do \
rm -f /usr/local/share/gettext/intl/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/intl'
Making install in po
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/po'
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/bison.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/bison.mo
installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/bison.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/bison.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/bison.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/bison.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/bison.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/bison.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/bison.mo
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/bison.mo
if test "bison" = "gettext"; then \
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share/gettext/po; \
for file in Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed [email protected]er [email protected]er insert-header.sin Rules-quot ; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/po'
Making install in lib
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/lib'
make[2]: Entering directory `/home/matthias/Desktop/bison-1.35/lib'
make[2]: Niets te doen voor `install-exec-am'.
make[2]: Niets te doen voor `install-data-am'.
make[2]: Leaving directory `/home/matthias/Desktop/bison-1.35/lib'
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/lib'
Making install in src
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/src'
make[2]: Entering directory `/home/matthias/Desktop/bison-1.35/src'
/bin/sh ../config/mkinstalldirs /usr/local/bin
/usr/bin/install -c bison /usr/local/bin/bison
/bin/sh ../config/mkinstalldirs /usr/local/share/bison
/usr/bin/install -c -m 644 bison.simple /usr/local/share/bison/bison.simple
/usr/bin/install -c -m 644 bison.hairy /usr/local/share/bison/bison.hairy
make[2]: Leaving directory `/home/matthias/Desktop/bison-1.35/src'
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/src'
Making install in doc
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/doc'
make[2]: Entering directory `/home/matthias/Desktop/bison-1.35/doc'
make[2]: Niets te doen voor `install-exec-am'.
/bin/sh ../config/mkinstalldirs /usr/local/info
/usr/bin/install -c -m 644 ./bison.info /usr/local/info/bison.info
/usr/bin/install -c -m 644 ./bison.info-1 /usr/local/info/bison.info-1
/usr/bin/install -c -m 644 ./bison.info-2 /usr/local/info/bison.info-2
/usr/bin/install -c -m 644 ./bison.info-3 /usr/local/info/bison.info-3
/usr/bin/install -c -m 644 ./bison.info-4 /usr/local/info/bison.info-4
/usr/bin/install -c -m 644 ./bison.info-5 /usr/local/info/bison.info-5
/usr/bin/install -c -m 644 ./bison.info-6 /usr/local/info/bison.info-6
install-info --info-dir=/usr/local/info /usr/local/info/bison.info
/bin/sh ../config/mkinstalldirs /usr/local/man/man1
/usr/bin/install -c -m 644 ./bison.1 /usr/local/man/man1/bison.1
make[2]: Leaving directory `/home/matthias/Desktop/bison-1.35/doc'
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/doc'
Making install in m4
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/m4'
make[2]: Entering directory `/home/matthias/Desktop/bison-1.35/m4'
make[2]: Niets te doen voor `install-exec-am'.
make[2]: Niets te doen voor `install-data-am'.
make[2]: Leaving directory `/home/matthias/Desktop/bison-1.35/m4'
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/m4'
Making install in tests
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35/tests'
make[2]: Entering directory `/home/matthias/Desktop/bison-1.35/tests'
make[2]: Niets te doen voor `install-exec-am'.
make[2]: Niets te doen voor `install-data-am'.
make[2]: Leaving directory `/home/matthias/Desktop/bison-1.35/tests'
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35/tests'
make[1]: Entering directory `/home/matthias/Desktop/bison-1.35'
make[2]: Entering directory `/home/matthias/Desktop/bison-1.35'
make[2]: Niets te doen voor `install-exec-am'.
make[2]: Niets te doen voor `install-data-am'.
make[2]: Leaving directory `/home/matthias/Desktop/bison-1.35'
make[1]: Leaving directory `/home/matthias/Desktop/bison-1.35'

ik heb make check oon gedraat voor make install en hij gaf geen fouten aan.

traffixxx

Legacy Member
allemaal leuk en wel
maar kunde aub de volgende keer oftewel een link naar de output of in [php-tag] de output zetten
want da scrollen is vervelend ....
Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.
Terug
Bovenaan