Forum Linux.pl
Inne => Tips & Tricks => Wątek zaczęty przez: Robert w 2005-09-06, 22:07:33
-
wpisuje sobie ./configure (oczywiście w katalogu, w którym ten plik jest) i wyskakuje mi taki bajer:
bash: ./configure: /bin/sh: bad interpreter: Brak dostępu
co z tym zrobić?
-
2005-09-06 22:07:33 roca napisał:
> wpisuje sobie ./configure (oczywiście w katalogu, w którym ten plik jest) i wyskakuje mi taki
> bajer:
> bash: ./configure: /bin/sh: bad interpreter: Brak dostępu
> co z tym zrobić?
Zrob ls -l /bin/sh. Zobacz gdzie jest dowiazany! Problem moze tez lezec w zlych prawach dla configure, zrob: chmod 755 configure.
-
2005-09-06 22:24:32 difrost napisał:
> Zrob ls -l /bin/sh. Zobacz gdzie jest dowiazany! Problem moze tez lezec w zlych prawach dla
> configure, zrob: chmod 755 configure.
wpisałem (a raczej wkleiłem) tę komdę i uzyskałem taki rezultat:
/bin/ls: /bin/sh.: Nie ma takiego pliku ani katalogu
prawa są w porządku - jest zaznaczone jako wykonywalny.
-
> /bin/ls: /bin/sh.: Nie ma takiego pliku ani katalogu
>
spróbuj jako root dać ln -s /bin/bash /bin/sh
-
2005-09-07 11:58:59 Stilgar napisał:
>
> > /bin/ls: /bin/sh.: Nie ma takiego pliku ani katalogu
> >
>
> spróbuj jako root dać ln -s /bin/bash /bin/sh
>
Zrobiłem to i wyszło (a raczej nie wyszło) następująco
linux:/lipa/XWINE/xwine-1.0.1 # ln -s /bin/bash /bin/sh
ln: `/bin/sh\\': Plik istnieje
linux:/lipa/XWINE/xwine-1.0.1 # ./configure
bash: ./configure: /bin/sh: bad interpreter: Brak dostępu
linux:/lipa/XWINE/xwine-1.0.1 #
sprobowałem odpalić configure przez sh i to też nie polepszyło zbytnio rezultatu:
linux:/lipa/XWINE/xwine-1.0.1 # sh configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gnome-config... no
checking for gnomeConf.sh file in /usr/local/lib... not found
configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install
linux:/lipa/XWINE/xwine-1.0.1 #
Widzę, że dopomina się jakiegoś pliku dla gnome, ale ja pracuję w kde i nie wiem o co tu biega.
-
2005-09-07 12:13:15 roca napisał:
> sprobowałem odpalić configure przez sh i to też nie polepszyło zbytnio rezultatu:
Polepszylo i to znacznie ten blad bad interpreter oznacza (zle interpretowane) brak #!/bin/sh i odpalany jest przez powloke sh a nie ./ wystarczylo na poczatek zrobic
# cat configure | head -1
Teraz masz czysty blad kompilacji, a ze uzywasz KDE nie oznacza ze nie kozystasz z bibliotek Gnome, az bys sie zdziwil jak wielu :| dlatego KDE pisze oddzelne ale to troszke czasu minie, wiec szukaj czego to i instaluj
Powodzenia
-
2005-09-07 12:37:36 bizonek napisał:
> 2005-09-07 12:13:15 roca napisał:
>
> odpalany jest przez powloke sh a nie ./ wystarczylo na poczatek zrobic
> # cat configure | head -1
Ten bajer nic nie pomógł
> Teraz masz czysty blad kompilacji, a ze uzywasz KDE nie oznacza ze nie kozystasz z bibliotek
> Gnome, az bys sie zdziwil jak wielu :| dlatego KDE pisze oddzelne ale to troszke czasu minie,
> wiec szukaj czego to i instaluj
wpisałem w googla nazwe pliku, znalazlem odpowiedniego rpma:
Tutaj są chyba wszystkie potrzebne do SuSE: http://rpmseek.com/rpm-pl/ (to tak na przyszłość, jakby ktoś szukał)
rpm sie zainstalował, oczywiście potrzebny plik wsadził nie tam gdzie trzeba, więc go skopiowałem tam, gdzie instalator xwine go szukał, wpisałem znowu sh configure i poleciała kolejna kłoda pod nogi:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host\\'.
See `config.log\\' for more details.
Nie tracę nadziei, że i ten problem ktoś mi pomoże rozwiązać, bo wydaje mi się, że sukces jest blisko....
Ps wylookałem w config.log taki zapis:
$ configure
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = i686
uname -r = 2.6.8-24-default
uname -s = Linux
uname -v = #1 Wed Oct 6 09:16:23 UTC 2004
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
\\"config.log\\" 236L, 7138C
ale i tak nic z tego nie kapuję.
-
co ci zwraca sh configure help albo --help zalezne albo zerknij na README moze tam juz zostal przedtawiony problem, a tym badem to mysle ze bedzi e cos z help musisz sh configure --host JAKIS moze o to chodzi, ciezko tak pomagac naprawde
-
2005-09-07 14:39:01 bizonek napisał:
> co ci zwraca sh configure help albo --help zalezne albo zerknij na README moze tam juz zostal
> przedtawiony problem, a tym badem to mysle ze bedzi e cos z help musisz sh configure --host
> JAKIS moze o to chodzi, ciezko tak pomagac naprawde
Tak to wyszło:
linux:/lipa/XWINE/xwine-1.0.1 # sh configure --help
`configure\\' configures this package to adapt to many kinds of systems.
Usage: configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...\\' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache\\'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..\\']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install\\' will install all the files in
`/usr/local/bin\\', `/usr/local/lib\\' etc. You can specify
an installation prefix other than `/usr/local\\' using `--prefix\\',
for instance `--prefix=$HOME\\'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-compile-warnings=no/minimum/yes Turn on compiler warnings.
--enable-iso-c Try to warn if code is not ISO C
--disable-gtktest Do not try to compile and run a test GTK program
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnome-includes Specify location of GNOME headers
--with-gnome-libs Specify location of GNOME libs
--with-gnome Specify prefix for GNOME files
--with-gtk-prefix=PFX Prefix where GTK is installed (optional)
--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L if you have libraries in a
nonstandard directory
CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have
headers in a nonstandard directory
CPP C preprocessor
Use these variables to override the choices made by `configure\\' or to help
it to find libraries and programs with nonstandard names/locations.
linux:/lipa/XWINE/xwine-1.0.1 # sh configure --host
configure: error: missing argument to --host-alias
linux:/lipa/XWINE/xwine-1.0.1 #
Z góry dziękuję za pomoc
-
2005-09-07 15:40:07 roca napisał:
> linux:/lipa/XWINE/xwine-1.0.1 # sh configure --host
> configure: error: missing argument to --host-alias
sh configure --host-alias linux
a sproboj
make
moze juz on confiure przelecial :> nie musi pisac Congrations :| bo z tego nie widze tam zadnych ERROR :|
-
2005-09-07 15:54:28 bizonek napisał:
> sh configure --host-alias linux
>
> a sproboj
>
> make
>
> moze juz on confiure przelecial :> nie musi pisac Congrations :| bo z tego nie widze tam
> zadnych ERROR :|
oto efekt: (będzie troszkę długi, sorry):
linux:/lipa/XWINE/xwine-1.0.1 # sh configure --host-alias linux
configure: error: unrecognized option: --host-alias
Try `configure --help\\' for more information.
linux:/lipa/XWINE/xwine-1.0.1 # make
make all-recursive
make[1]: Entering directory `/lipa/XWINE/xwine-1.0.1\\'
Making all in macros
make[2]: Entering directory `/lipa/XWINE/xwine-1.0.1/macros\\'
make[2]: Nie nic do roboty w `all\\'.
make[2]: Leaving directory `/lipa/XWINE/xwine-1.0.1/macros\\'
Making all in src
make[2]: Entering directory `/lipa/XWINE/xwine-1.0.1/src\\'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include-I/usr/include/libxml2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -Wunused -MT main.o -MD -MP -MF \\".deps/main.Tpo\\" -c -o main.o main.c;
then mv -f \\".deps/main.Tpo\\" \\".deps/main.Po\\"; else rm -f \\".deps/main.Tpo\\"; exit 1; fi
main.c:10:19: gnome.h: Nie ma takiego pliku ani katalogu
In file included from main.c:14:
interface.h:5: error: parse error before \\'*\\' token
interface.h:5: warning: type defaults to `int\\' in declaration of `create_W_XWINE\\'
interface.h:5: warning: data definition has no type or storage class
interface.h:6: error: parse error before \\'*\\' token
interface.h:6: warning: type defaults to `int\\' in declaration of `create_W_QUITTER\\'
interface.h:6: warning: data definition has no type or storage class
interface.h:7: error: parse error before \\'*\\' token
interface.h:7: warning: type defaults to `int\\' in declaration of `create_W_EXECUTER\\'
interface.h:7: warning: data definition has no type or storage class
interface.h:8: error: parse error before \\'*\\' token
interface.h:8: warning: type defaults to `int\\' in declaration of `create_W_ABOUT\\'
interface.h:8: warning: data definition has no type or storage class
interface.h:9: error: parse error before \\'*\\' token
interface.h:9: warning: type defaults to `int\\' in declaration of `create_W_LOG\\'
interface.h:9: warning: data definition has no type or storage class
interface.h:10: error: parse error before \\'*\\' token
interface.h:10: warning: type defaults to `int\\' in declaration of `create_W_WINE_CONFIG\\'
interface.h:10: warning: data definition has no type or storage class
interface.h:11: error: parse error before \\'*\\' token
interface.h:11: warning: type defaults to `int\\' in declaration of `create_W_PARCOUR_EXE\\'
interface.h:11: warning: data definition has no type or storage class
interface.h:12: error: parse error before \\'*\\' token
interface.h:12: warning: type defaults to `int\\' in declaration of `create_WARN_NOT_AVAILABLE\\'
interface.h:12: warning: data definition has no type or storage class
interface.h:13: error: parse error before \\'*\\' token
interface.h:13: warning: type defaults to `int\\' in declaration of `create_ERR_PROG_SELECT\\'
interface.h:13: warning: data definition has no type or storage class
interface.h:14: error: parse error before \\'*\\' token
interface.h:14: warning: type defaults to `int\\' in declaration of `create_INF_USE_CD\\'
interface.h:14: warning: data definition has no type or storage class
interface.h:15: error: parse error before \\'*\\' token
interface.h:15: warning: type defaults to `int\\' in declaration of `create_W_ADD_PARAM\\'
interface.h:15: warning: data definition has no type or storage class
interface.h:16: error: parse error before \\'*\\' token
interface.h:16: warning: type defaults to `int\\' in declaration of `create_W_INSTALL_APP\\'
interface.h:16: warning: data definition has no type or storage class
interface.h:17: error: parse error before \\'*\\' token
interface.h:17: warning: type defaults to `int\\' in declaration of `create_W_GEST_APP\\'
interface.h:17: warning: data definition has no type or storage class
interface.h:18: error: parse error before \\'*\\' token
interface.h:18: warning: type defaults to `int\\' in declaration of `create_WARN_DEL_APP\\'
interface.h:18: warning: data definition has no type or storage class
interface.h:19: error: parse error before \\'*\\' token
interface.h:19: warning: type defaults to `int\\' in declaration of `create_ERR_PROG_EMPTY\\'
interface.h:19: warning: data definition has no type or storage class
interface.h:20: error: parse error before \\'*\\' token
interface.h:20: warning: type defaults to `int\\' in declaration of `create_W_RUN_APP\\'
interface.h:20: warning: data definition has no type or storage class
interface.h:21: error: parse error before \\'*\\' token
interface.h:21: warning: type defaults to `int\\' in declaration of `create_W_CALC\\'
interface.h:21: warning: data definition has no type or storage class
interface.h:22: error: parse error before \\'*\\' token
interface.h:22: warning: type defaults to `int\\' in declaration of `create_ERR_AIDE\\'
interface.h:22: warning: data definition has no type or storage class
interface.h:23: error: parse error before \\'*\\' token
interface.h:23: warning: type defaults to `int\\' in declaration of `create_W_EDITEUR\\'
interface.h:23: warning: data definition has no type or storage class
interface.h:24: error: parse error before \\'*\\' token
interface.h:24: warning: type defaults to `int\\' in declaration of `create_WARN_EDIT_QUIT\\'
interface.h:24: warning: data definition has no type or storage class
interface.h:25: error: parse error before \\'*\\' token
interface.h:25: warning: type defaults to `int\\' in declaration of `create_W_EDIT_FILE_SELEC\\'
interface.h:25: warning: data definition has no type or storage class
interface.h:26: error: parse error before \\'*\\' token
interface.h:26: warning: type defaults to `int\\' in declaration of `create_W_GEST_DRIVE\\'
interface.h:26: warning: data definition has no type or storage class
interface.h:27: error: parse error before \\'*\\' token
interface.h:27: warning: type defaults to `int\\' in declaration of `create_W_DRIVE_CFG\\'
interface.h:27: warning: data definition has no type or storage class
interface.h:28: error: parse error before \\'*\\' token
interface.h:28: warning: type defaults to `int\\' in declaration of `create_ERR_DRIVE_SEL\\'
interface.h:28: warning: data definition has no type or storage class
interface.h:29: error: parse error before \\'*\\' token
interface.h:29: warning: type defaults to `int\\' in declaration of `create_ERR_DRIVE_PATH\\'
interface.h:29: warning: data definition has no type or storage class
interface.h:30: error: parse error before \\'*\\' token
interface.h:30: warning: type defaults to `int\\' in declaration of `create_WARN_DRIVE_DEL\\'
interface.h:30: warning: data definition has no type or storage class
interface.h:31: error: parse error before \\'*\\' token
interface.h:31: warning: type defaults to `int\\' in declaration of `create_W_DRIVE_SEL_PATH\\'
interface.h:31: warning: data definition has no type or storage class
interface.h:32: error: parse error before \\'*\\' token
interface.h:32: warning: type defaults to `int\\' in declaration of `create_ERR_NOT_PATH\\'
interface.h:32: warning: data definition has no type or storage class
interface.h:33: error: parse error before \\'*\\' token
interface.h:33: warning: type defaults to `int\\' in declaration of `create_W_WINE_SYSTEM\\'
interface.h:33: warning: data definition has no type or storage class
interface.h:34: error: parse error before \\'*\\' token
interface.h:34: warning: type defaults to `int\\' in declaration of `create_W_DLL_GEST\\'
interface.h:34: warning: data definition has no type or storage class
interface.h:35: error: parse error before \\'*\\' token
interface.h:35: warning: type defaults to `int\\' in declaration of `create_W_DLL_OVERRIDE\\'
interface.h:35: warning: data definition has no type or storage class
interface.h:36: error: parse error before \\'*\\' token
interface.h:36: warning: type defaults to `int\\' in declaration of `create_ERR_DLL_SEL\\'
interface.h:36: warning: data definition has no type or storage class
interface.h:37: error: parse error before \\'*\\' token
interface.h:37: warning: type defaults to `int\\' in declaration of `create_ERR_DLL_NAME\\'
interface.h:37: warning: data definition has no type or storage class
interface.h:38: error: parse error before \\'*\\' token
interface.h:38: warning: type defaults to `int\\' in declaration of `create_W_WINE_LOOK\\'
interface.h:38: warning: data definition has no type or storage class
interface.h:39: error: parse error before \\'*\\' token
interface.h:39: warning: type defaults to `int\\' in declaration of `create_ERR_WINESETUPTK\\'
interface.h:39: warning: data definition has no type or storage class
interface.h:40: error: parse error before \\'*\\' token
interface.h:40: warning: type defaults to `int\\' in declaration of `create_W_WINE_GFX\\'
interface.h:40: warning: data definition has no type or storage class
interface.h:41: error: parse error before \\'*\\' token
interface.h:41: warning: type defaults to `int\\' in declaration of `create_W_APP_DLL\\'
interface.h:41: warning: data definition has no type or storage class
interface.h:42: error: parse error before \\'*\\' token
interface.h:42: warning: type defaults to `int\\' in declaration of `create_ERR_APP_NOT_FOUND\\'
interface.h:42: warning: data definition has no type or storage class
interface.h:43: error: parse error before \\'*\\' token
interface.h:43: warning: type defaults to `int\\' in declaration of `create_W_WINE_PORT\\'
interface.h:43: warning: data definition has no type or storage class
interface.h:44: error: parse error before \\'*\\' token
interface.h:44: warning: type defaults to `int\\' in declaration of `create_W_WINE_REGISTRY\\'
interface.h:44: warning: data definition has no type or storage class
interface.h:45: error: parse error before \\'*\\' token
interface.h:45: warning: type defaults to `int\\' in declaration of `create_W_WINE_MEDIA\\'
interface.h:45: warning: data definition has no type or storage class
interface.h:46: error: parse error before \\'*\\' token
interface.h:46: warning: type defaults to `int\\' in declaration of `create_W_WINE_CONSOLE\\'
interface.h:46: warning: data definition has no type or storage class
interface.h:47: error: parse error before \\'*\\' token
interface.h:47: warning: type defaults to `int\\' in declaration of `create_WARN_RESTORE\\'
interface.h:47: warning: data definition has no type or storage class
interface.h:48: error: parse error before \\'*\\' token
interface.h:48: warning: type defaults to `int\\' in declaration of `create_W_WINE_VERSION\\'
interface.h:48: warning: data definition has no type or storage class
interface.h:49: error: parse error before \\'*\\' token
interface.h:49: warning: type defaults to `int\\' in declaration of `create_W_CONFIG\\'
interface.h:49: warning: data definition has no type or storage class
interface.h:50: error: parse error before \\'*\\' token
interface.h:50: warning: type defaults to `int\\' in declaration of `create_WARN_DEBUG\\'
interface.h:50: warning: data definition has no type or storage class
interface.h:51: error: parse error before \\'*\\' token
interface.h:51: warning: type defaults to `int\\' in declaration of `create_WARN_NODEBUG\\'
interface.h:51: warning: data definition has no type or storage class
interface.h:52: error: parse error before \\'*\\' token
interface.h:52: warning: type defaults to `int\\' in declaration of `create_W_PREFS\\'
interface.h:52: warning: data definition has no type or storage class
interface.h:53: error: parse error before \\'*\\' token
interface.h:53: warning: type defaults to `int\\' in declaration of `create_W_EXPORT\\'
interface.h:53: warning: data definition has no type or storage class
interface.h:54: error: parse error before \\'*\\' token
interface.h:54: warning: type defaults to `int\\' in declaration of `create_W_MENU\\'
interface.h:54: warning: data definition has no type or storage class
interface.h:55: error: parse error before \\'*\\' token
interface.h:55: warning: type defaults to `int\\' in declaration of `create_W_INFO_MAJ\\'
interface.h:55: warning: data definition has no type or storage class
In file included from main.c:15:
support.h:5:19: gnome.h: Nie ma takiego pliku ani katalogu
In file included from main.c:15:
support.h:17: error: parse error before \\'*\\' token
support.h:17: error: parse error before \\'*\\' token
support.h:18: warning: type defaults to `int\\' in declaration of `lookup_widget\\'
support.h:18: warning: data definition has no type or storage class
support.h:29: error: parse error before \\'*\\' token
support.h:29: error: parse error before \\'*\\' token
support.h:31: warning: type defaults to `int\\' in declaration of `create_pixmap\\'
support.h:31: warning: data definition has no type or storage class
support.h:33: error: parse error before \\'*\\' token
support.h:33: warning: type defaults to `int\\' in declaration of `gchar\\'
support.h:33: error: parse error before \\'*\\' token
support.h:33: warning: type defaults to `int\\' in declaration of `create_image\\'
support.h:33: warning: data definition has no type or storage class
In file included from main.c:16:
donnees.h:11: error: parse error before \\'*\\' token
donnees.h:11: warning: type defaults to `int\\' in declaration of `W_XWINE\\'
donnees.h:11: warning: data definition has no type or storage class
donnees.h:12: error: parse error before \\'*\\' token
donnees.h:12: warning: type defaults to `int\\' in declaration of `W_QUITTER\\'
donnees.h:12: warning: data definition has no type or storage class
donnees.h:13: error: parse error before \\'*\\' token
donnees.h:13: warning: type defaults to `int\\' in declaration of `W_EXECUTER\\'
donnees.h:13: warning: data definition has no type or storage class
donnees.h:14: error: parse error before \\'*\\' token
donnees.h:14: warning: type defaults to `int\\' in declaration of `W_ABOUT\\'
donnees.h:14: warning: data definition has no type or storage class
donnees.h:15: error: parse error before \\'*\\' token
donnees.h:15: warning: type defaults to `int\\' in declaration of `W_LOG\\'
donnees.h:15: warning: data definition has no type or storage class
donnees.h:16: error: parse error before \\'*\\' token
donnees.h:16: warning: type defaults to `int\\' in declaration of `W_WINE_CONFIG\\'
donnees.h:16: warning: data definition has no type or storage class
donnees.h:17: error: parse error before \\'*\\' token
donnees.h:17: warning: type defaults to `int\\' in declaration of `W_PARCOUR_EXE\\'
donnees.h:17: warning: data definition has no type or storage class
donnees.h:18: error: parse error before \\'*\\' token
donnees.h:18: warning: type defaults to `int\\' in declaration of `WARN_NOT_AVAILABLE\\'
donnees.h:18: warning: data definition has no type or storage class
donnees.h:19: error: parse error before \\'*\\' token
donnees.h:19: warning: type defaults to `int\\' in declaration of `ERR_PROG_SELECT\\'
donnees.h:19: warning: data definition has no type or storage class
donnees.h:20: error: parse error before \\'*\\' token
donnees.h:20: warning: type defaults to `int\\' in declaration of `INF_USE_CD\\'
donnees.h:20: warning: data definition has no type or storage class
donnees.h:21: error: parse error before \\'*\\' token
donnees.h:21: warning: type defaults to `int\\' in declaration of `W_ADD_PARAM\\'
donnees.h:21: warning: data definition has no type or storage class
donnees.h:22: error: parse error before \\'*\\' token
donnees.h:22: warning: type defaults to `int\\' in declaration of `W_INSTALL_APP\\'
donnees.h:22: warning: data definition has no type or storage class
donnees.h:23: error: parse error before \\'*\\' token
donnees.h:23: warning: type defaults to `int\\' in declaration of `W_GEST_APP\\'
donnees.h:23: warning: data definition has no type or storage class
donnees.h:24: error: parse error before \\'*\\' token
donnees.h:24: warning: type defaults to `int\\' in declaration of `WARN_DEL_APP\\'
donnees.h:24: warning: data definition has no type or storage class
donnees.h:25: error: parse error before \\'*\\' token
donnees.h:25: warning: type defaults to `int\\' in declaration of `ERR_PROG_EMPTY\\'
donnees.h:25: warning: data definition has no type or storage class
donnees.h:26: error: parse error before \\'*\\' token
donnees.h:26: warning: type defaults to `int\\' in declaration of `W_RUN_APP\\'
donnees.h:26: warning: data definition has no type or storage class
donnees.h:27: error: parse error before \\'*\\' token
donnees.h:27: warning: type defaults to `int\\' in declaration of `W_CALC\\'
donnees.h:27: warning: data definition has no type or storage class
donnees.h:28: error: parse error before \\'*\\' token
donnees.h:28: warning: type defaults to `int\\' in declaration of `ERR_AIDE\\'
donnees.h:28: warning: data definition has no type or storage class
donnees.h:29: error: parse error before \\'*\\' token
donnees.h:29: warning: type defaults to `int\\' in declaration of `W_EDITEUR\\'
donnees.h:29: warning: data definition has no type or storage class
donnees.h:30: error: parse error before \\'*\\' token
donnees.h:30: warning: type defaults to `int\\' in declaration of `WARN_EDIT_QUIT\\'
donnees.h:30: warning: data definition has no type or storage class
donnees.h:31: error: parse error before \\'*\\' token
donnees.h:31: warning: type defaults to `int\\' in declaration of `W_EDIT_FILE_SELEC\\'
donnees.h:31: warning: data definition has no type or storage class
donnees.h:32: error: parse error before \\'*\\' token
donnees.h:32: warning: type defaults to `int\\' in declaration of `W_GEST_DRIVE\\'
donnees.h:32: warning: data definition has no type or storage class
donnees.h:33: error: parse error before \\'*\\' token
donnees.h:33: warning: type defaults to `int\\' in declaration of `W_DRIVE_CFG\\'
donnees.h:33: warning: data definition has no type or storage class
donnees.h:34: error: parse error before \\'*\\' token
donnees.h:34: warning: type defaults to `int\\' in declaration of `ERR_DRIVE_SEL\\'
donnees.h:34: warning: data definition has no type or storage class
donnees.h:35: error: parse error before \\'*\\' token
donnees.h:35: warning: type defaults to `int\\' in declaration of `ERR_DRIVE_PATH\\'
donnees.h:35: warning: data definition has no type or storage class
donnees.h:36: error: parse error before \\'*\\' token
donnees.h:36: warning: type defaults to `int\\' in declaration of `WARN_DRIVE_DEL\\'
donnees.h:36: warning: data definition has no type or storage class
donnees.h:37: error: parse error before \\'*\\' token
donnees.h:37: warning: type defaults to `int\\' in declaration of `W_DRIVE_SEL_PATH\\'
donnees.h:37: warning: data definition has no type or storage class
donnees.h:38: error: parse error before \\'*\\' token
donnees.h:38: warning: type defaults to `int\\' in declaration of `ERR_NOT_PATH\\'
donnees.h:38: warning: data definition has no type or storage class
donnees.h:39: error: parse error before \\'*\\' token
donnees.h:39: warning: type defaults to `int\\' in declaration of `W_WINE_SYSTEM\\'
donnees.h:39: warning: data definition has no type or storage class
donnees.h:40: error: parse error before \\'*\\' token
donnees.h:40: warning: type defaults to `int\\' in declaration of `W_DLL_GEST\\'
donnees.h:40: warning: data definition has no type or storage class
donnees.h:41: error: parse error before \\'*\\' token
donnees.h:41: warning: type defaults to `int\\' in declaration of `W_DLL_OVERRIDE\\'
donnees.h:41: warning: data definition has no type or storage class
donnees.h:42: error: parse error before \\'*\\' token
donnees.h:42: warning: type defaults to `int\\' in declaration of `ERR_DLL_SEL\\'
donnees.h:42: warning: data definition has no type or storage class
donnees.h:43: error: parse error before \\'*\\' token
donnees.h:43: warning: type defaults to `int\\' in declaration of `ERR_DLL_NAME\\'
donnees.h:43: warning: data definition has no type or storage class
donnees.h:44: error: parse error before \\'*\\' token
donnees.h:44: warning: type defaults to `int\\' in declaration of `W_WINE_LOOK\\'
donnees.h:44: warning: data definition has no type or storage class
donnees.h:45: error: parse error before \\'*\\' token
donnees.h:45: warning: type defaults to `int\\' in declaration of `ERR_WINESETUPTK\\'
donnees.h:45: warning: data definition has no type or storage class
donnees.h:46: error: parse error before \\'*\\' token
donnees.h:46: warning: type defaults to `int\\' in declaration of `W_WINE_GFX\\'
donnees.h:46: warning: data definition has no type or storage class
donnees.h:47: error: parse error before \\'*\\' token
donnees.h:47: warning: type defaults to `int\\' in declaration of `W_APP_DLL\\'
donnees.h:47: warning: data definition has no type or storage class
donnees.h:48: error: parse error before \\'*\\' token
donnees.h:48: warning: type defaults to `int\\' in declaration of `ERR_APP_NOT_FOUND\\'
donnees.h:48: warning: data definition has no type or storage class
donnees.h:49: error: parse error before \\'*\\' token
donnees.h:49: warning: type defaults to `int\\' in declaration of `W_WINE_PORT\\'
donnees.h:49: warning: data definition has no type or storage class
donnees.h:50: error: parse error before \\'*\\' token
donnees.h:50: warning: type defaults to `int\\' in declaration of `W_WINE_REGISTRY\\'
donnees.h:50: warning: data definition has no type or storage class
donnees.h:51: error: parse error before \\'*\\' token
donnees.h:51: warning: type defaults to `int\\' in declaration of `W_WINE_MEDIA\\'
donnees.h:51: warning: data definition has no type or storage class
donnees.h:52: error: parse error before \\'*\\' token
donnees.h:52: warning: type defaults to `int\\' in declaration of `W_WINE_CONSOLE\\'
donnees.h:52: warning: data definition has no type or storage class
donnees.h:53: error: parse error before \\'*\\' token
donnees.h:53: warning: type defaults to `int\\' in declaration of `WARN_RESTORE\\'
donnees.h:53: warning: data definition has no type or storage class
donnees.h:54: error: parse error before \\'*\\' token
donnees.h:54: warning: type defaults to `int\\' in declaration of `W_WINE_VERSION\\'
donnees.h:54: warning: data definition has no type or storage class
donnees.h:55: error: parse error before \\'*\\' token
donnees.h:55: warning: type defaults to `int\\' in declaration of `W_CONFIG\\'
donnees.h:55: warning: data definition has no type or storage class
donnees.h:56: error: parse error before \\'*\\' token
donnees.h:56: warning: type defaults to `int\\' in declaration of `WARN_DEBUG\\'
donnees.h:56: warning: data definition has no type or storage class
donnees.h:57: error: parse error before \\'*\\' token
donnees.h:57: warning: type defaults to `int\\' in declaration of `WARN_NODEBUG\\'
donnees.h:57: warning: data definition has no type or storage class
donnees.h:58: error: parse error before \\'*\\' token
donnees.h:58: warning: type defaults to `int\\' in declaration of `W_PREFS\\'
donnees.h:58: warning: data definition has no type or storage class
donnees.h:59: error: parse error before \\'*\\' token
donnees.h:59: warning: type defaults to `int\\' in declaration of `W_EXPORT\\'
donnees.h:59: warning: data definition has no type or storage class
donnees.h:60: error: parse error before \\'*\\' token
donnees.h:60: warning: type defaults to `int\\' in declaration of `W_MENU\\'
donnees.h:60: warning: data definition has no type or storage class
donnees.h:61: error: parse error before \\'*\\' token
donnees.h:61: warning: type defaults to `int\\' in declaration of `W_INFO_MAJ\\'
donnees.h:61: warning: data definition has no type or storage class
In file included from main.c:16:
donnees.h:124:31: warning: no newline at end of file
In file included from main.c:17:
commun.h:33:51: warning: no newline at end of file
main.c: In function `executer\\':
main.c:99: warning: implicit declaration of function `chdir\\'
main.c:102: warning: implicit declaration of function `gtk_widget_show\\'
main.c:35: warning: unused variable `i\\'
main.c: In function `main\\':
main.c:159: warning: implicit declaration of function `gnome_init\\'
main.c:306: warning: comparison between pointer and integer
main.c:382: warning: implicit declaration of function `gtk_clist_insert\\'
main.c:382: warning: implicit declaration of function `GTK_CLIST\\'
main.c:391: warning: implicit declaration of function `gnome_pixmap_load_file_at_size\\'
main.c:392: warning: implicit declaration of function `gtk_widget_set_usize\\'
main.c:410: warning: implicit declaration of function `gtk_widget_destroy\\'
main.c:488: warning: implicit declaration of function `gtk_main\\'
main.c:490:2: warning: no newline at end of file
make[2]: *** [main.o] Błąd 1
make[2]: Leaving directory `/lipa/XWINE/xwine-1.0.1/src\\'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/lipa/XWINE/xwine-1.0.1\\'
make: *** [all] Błąd 2
linux:/lipa/XWINE/xwine-1.0.1 #
próbowałem doinstalowac wszystkie pakiety, które \\"pachniały\\" C lub C++\\" i te komendy wpisałem dopiero po dodaniu tych pakietów, ale to mi, jak widac nie pomogło. I cały misterny plan w pi.....u :-)
-
Jakiej wersji gcc uzywasz:
gcc -v
Czasami podczas kompilacji za pomoca gcc >=4.0 dzieja sie \\"ciekawe\\" rzeczy.
--
Maciek
-
2005-09-07 22:13:43 Maciek_Rutecki napisał:
> Jakiej wersji gcc uzywasz:
>
> gcc -v
>
> Czasami podczas kompilacji za pomoca gcc >=4.0 dzieja sie \\"ciekawe\\" rzeczy.
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.4/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.4 (pre 3.3.5 20040809)
-
Szukałem trochę info w google i nie tylko i wydaje mi sie, że może tu chodzić o plik /etc/fstab Chodzi oczywiście o partycję zamontowaną u mnie jako /lipa, może mieć atrybut noexec.
Próbowałem czytać man fstab, but my english is very poor dlatego zwracam się o pomoc co mam poprawić w tym pliku:
/dev/hda2 / reiserfs acl,user_xattr 1 1
LABEL=lipa /lipa xfs exec,user 1 2
/dev/hda1 /wirus vfat user 0 0
/dev/hda4 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
chodzi oczywiście o lipę :-)
-
Mam takie male pytanko jak usunac napis menu z zoltej gwiazdki na pasku w mandrivie 2005 le
-
2005-09-06 20:44:12 Tczewiaczek napisał:
> Mam takie male pytanko jak usunac napis menu z zoltej gwiazdki na pasku w mandrivie 2005 le
Nie mam mandrivy więc strzelam - przypuszczam, że najprościej byłoby Prawym Przyciskiem Myszy na ikonie menu kliknąć, wybrać zmień ikonę i poszukać czy nie istnieje taka sama bez napisu; jeśli nie istnieje to otworzyć ją w GIMP (program do tworzenia i obróbki grafiki bitmapowej) i spróbować usunąć ten nieszczęsny napis