Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: s0bi3ski в Sep 18, 2007, 17:15



Титла: проблем с инсталирането на flex
Публикувано от: s0bi3ski в Sep 18, 2007, 17:15
проблема ми е следния помъчих се да си инсталирам wine (неуспешно). изкарва ми следната грешка:


[s0bi3ski@localhost wine-0.9.45]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for cpp... cpp
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
[s0bi3ski@localhost wine-0.9.45]$


после се помъчих да инсталирам flex (отново неуспешно). Тука грешката е :


[s0bi3ski@localhost linux]$ rpm -i flex-2.5.33-1pclos2007.src.rpm.rpm
error: cannot create %sourcedir /usr/src/rpm/SOURCES
[s0bi3ski@localhost linux]$ rpm -i http://spout.ussg.indiana.edu/linux....src.rpm
error: cannot create %sourcedir /usr/src/rpm/SOURCES
[s0bi3ski@localhost linux]$


ще съм ви ммного благодарен ако можете да ми помогнете





Титла: проблем с инсталирането на flex
Публикувано от: Nik123 в Sep 22, 2007, 20:42
Опитваш се да инсталираш сорс рпм, който не става за "пряка" инсталация.
Коя точно от рпм базираните дистрибуции ползваш?


Edit: Съжалявам, не съм прочел подтекста на темата-
PCLinuxOS си има пакетен мениджър- защо просто не инсталираш flex през пакетния си мениджър от мирърите на дистрибуцията?