PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : LinEAK unter Suse 8.1



AGistok
12.11.02, 13:50
Hi,

in der Linux intern 01/03 steht ein Artikel über Multimedia-Tastaturen unter X-Windows mit dem Programm LinEAK.
Nun habe Ich da ein Problem mit dem obigen Programm unter Suse 8.1, als root kann ich es starten und auch configurieren!, als Benutzer nicht, da der Service lineakd mit der Option -b erst gestartet werden muß, welches als Root auch klappt!
Wie kann ich nun aus dem Verzeichnis /usr/local/bin/ den Dienst automatisch starten, da ich nicht jedesmal erst als root den Dienst starten möchte?
Ich habe es schon mit der boot.local versucht, komme da nicht mit den Einträgen klar und beim Start des Rechners erhalte ich ein failed.
Vielleicht kann mir da ja jemand helfen!

MfG AG


Wenn Fehler sich bemerkbar machen, dann bei Dir.

Ulli Ivens
12.11.02, 16:24
Du musst den sogar als User starten, sonst sollte das überhaupt nicht gehen.

Du kannst diesen Befehl z.B. in das Startscript deines Windowmanagers oder in das Startscript des X-Servers aufnehmen. Dann wird bei jedem Laden der Grafischen Oberfläche lineakd mitgeladen. Falls du dich grafisch anmeldest könnte das auch in der

Schön das du über den Artikel auf LinEAK aufmerksam geworden bist. Ich stehe mit den Entwicklern inK kontakt und baue die RPM's für die :) Ist echt ein klasse Programm.

LinEAK - Linux support for Easy Access and Internet Keyboards
Copyright (C) 2001,2002 Mark Smulders
http://lineak.sourceforge.net


Hier übrigens Auszüge aus der README zu lineakd, da steht es auch drin :)

## Installation instructions:

IMPORTANT NOTE: lineakd 0.3.3 and 0.3.4 are only compatible with
lineakconfig 0.3.1 or higher

- download the lineakd-x.x.tar.gz into your homedir
- unpack the source (eg. "tar zxvf lineakd-x.x.tar.gz")
- cd into the directory (eg. "cd lineakd-x.x" )
- run "./configure"
- run "make"
- as root run "make install"

(change back to your normal user)

- IMPORTANT: if you are upgrading, please read the "Upgrading" notes below now !

- run 'lineakd -l' to see a list of available keyboards.

- to create a new configuration file for your keyboard run
"lineakd -c TYPE"
where TYPE could be found from "lineakd -l" as mentioned above

(a configuration file will now have been created as $HOME/.lineak/lineakd.conf)

- add '/usr/local/bin/lineakd -b' to ~/.xsession if you use XSession
or put it in the list of 'startup programs' of your Window Manager
(i.e. Gnome or KDE)

- bind commands to the keys by using lineakconfig, or edit the .conf file
by hand and issue a SIGHUP signal (i.e. killall -HUP lineakd)

## Upgrading

- lineakd 0.3.x can only be used w/ lineakconfig 0.3 or higher
- follow the standard configure, make, make install procedure as
described above.
- it is recommended you create a new configuration file when upgrading.
To do this use "lineakd -c TYPE" (TYPE can be found from "lineakd -l")
If you used your old configuration file and you get errors about unknown
type or config file errors, please create a new conf file before reporting
the problem.

## Trouble shooting

- if you have trouble running lineakd:
* if lineakd is running, send it the TERM signal to stop it
* open an X terminal (xterm, eterm, any) and run:
/usr/local/bin/lineakd -v
* the information on the screen can help identify the problem.

## Reporting a bug/problem

Run lineakd with --verbose (or -v) option (see also Trouble shooting)
and enclose the output in your e-mail to me.


## Notes of attention:

- when lineakd is run for the first time, it will create a directory
in your homedir called ".lineak" where the configuration file is located
(i.e. /home/user/.lineak/lineakd.conf )
This file can be modified to suit your needs, or you can use (K)lineakconfig

- keyboard definitions are located in lineakkb.def located in your sysconf dir
(i.e. /usr/local/etc/lineakkb.def )
If your keyboard is not supported, read "How to get your keyboard supported"
on the project homepage (http://lineak.sf.net)
As of version 0.3, lineak also supports a user definition file
($HOME/.lineak/lineakkb.def)

AGistok
12.11.02, 18:11
Hi,

Danke für die Hilfe!

Ich habe nun die Pakete (ineakd-0.3.2 und lineakconfig-0.3.2/4) entpackt und konnte auch ein ./configure machen. Dann gebe ich ein make oder unter su ein make install ein und folgendes bekomme ich dann angezeigt:
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.

Mein Fehler liegt ... na wo denn nun, falsche Pakete, zu blöd zum installieren, ging aber doch bei netscape und SO?? :-( Ist da Suse 8.1 ein Problem?

Ich habe auch schon klineakconfig-0.5.1-1.i586.rpm probiert und es läuft ebenfalls nur unter root, oder mit root im usermodus gestartet.

Hilfe! So was cooles klappt wieder nicht! buhu!

MfG AG


Die Beseitigung eines Fehlers ruft mindestens zwei neue hervor.

HangLoose
12.11.02, 22:41
hi

blöde frage meinerseits. im entsprechenden verzeichnis warst du und nach dem ./configure hat er auch *was gemacht*?

AGistok
13.11.02, 11:38
Hi,

ich habe nun nochmals alles runtergeschmissen und habe dann folgendes ausprobiert:
Suse8.1 und KDE 3.0.3, mit der Verzeichnisstruktur /home/ag/download/Tastatur/lineak.... diese habe ich gelassen!

a) lineakconfig-0.3.2 sucht nach dem auspacken und dem ./configure vergebens nach GTK 1.2.0 und im Yast2 steht gtk als installiert drin,nun war auf der Suse 8.1-DVD GTK 1.2.10 und ich habe es nochmals installiert mit dem konqueror ! Das Ergebnis ist weiterhin ein Abruch bei der Suche nach GTK1.2.0!
b) Jetzt noch lineakd-0.3.2(5) auch neu entpackt und ein ./configure, was hier fehlt ist ein X welches ich installieren soll, wobei ich als X nun den X-Server verstehen würde! Da ich unter KDE arbeite sollte der doch installiert sein?

Anbei die beiden Config.log die sicherlich mehr aussagen als mein Newbiegesaftel:

lineakd-0.3.2:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52. Invocation command line was

$ ./configure

## ---------- ##
## Platform. ##
## ---------- ##

hostname = linux
uname -m = i686
uname -r = 2.4.19-4GB
uname -s = Linux
uname -v = #1 Fri Sep 13 13:14:56 UTC 2002

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH = /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:.

## ------------ ##
## Core tests. ##
## ------------ ##

configure:972: PATH=".;."; conftest.sh
./configure: line 973: conftest.sh: command not found
configure:975: $? = 127
configure:1021: checking for a BSD compatible install
configure:1070: result: /usr/bin/install -c
configure:1081: checking whether build environment is sane
configure:1124: result: yes
configure:1157: checking for mawk
configure:1183: result: no
configure:1157: checking for gawk
configure:1172: found /usr/bin/gawk
configure:1180: result: gawk
configure:1190: checking whether make sets ${MAKE}
configure:1210: result: yes
configure:1309: checking for style of include used by make
configure:1336: result: GNU
configure:1383: checking for gcc
configure:1398: found /usr/bin/gcc
configure:1406: result: gcc
configure:1634: checking for C compiler version
configure:1637: gcc --version </dev/null >&5
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1640: $? = 0
configure:1642: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2
configure:1645: $? = 0
configure:1647: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1650: $? = 1
configure:1670: checking for C compiler default output
configure:1673: gcc conftest.c >&5
configure:1676: $? = 0
configure:1705: result: a.out
configure:1710: checking whether the C compiler works
configure:1716: ./a.out
configure:1719: $? = 0
configure:1734: result: yes
configure:1741: checking whether we are cross compiling
configure:1743: result: no
configure:1746: checking for executable suffix
configure:1748: gcc -o conftest conftest.c >&5
configure:1751: $? = 0
configure:1773: result:
configure:1779: checking for object suffix
configure:1797: gcc -c conftest.c >&5
configure:1800: $? = 0
configure:1819: result: o
configure:1823: checking whether we are using the GNU C compiler
configure:1844: gcc -c conftest.c >&5
configure:1847: $? = 0
configure:1850: test -s conftest.o
configure:1853: $? = 0
configure:1865: result: yes
configure:1871: checking whether gcc accepts -g
configure:1889: gcc -c -g conftest.c >&5
configure:1892: $? = 0
configure:1895: test -s conftest.o
configure:1898: $? = 0
configure:1908: result: yes
configure:1935: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before "me"
configure:1938: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2038: checking dependency style of gcc
configure:2100: result: gcc3
configure:2104: checking for strerror in -lcposix
configure:2131: gcc -o conftest -g -O2 conftest.c -lcposix >&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:2134: $? = 1
configure: failed program was:
#line 2112 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strerror ();
int
main ()
{
strerror ();
;
return 0;
}
configure:2151: result: no
configure:2200: checking for gcc
configure:2223: result: gcc
configure:2451: checking for C compiler version
configure:2454: gcc --version </dev/null >&5
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2457: $? = 0
configure:2459: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2
configure:2462: $? = 0
configure:2464: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2467: $? = 1
configure:2470: checking whether we are using the GNU C compiler
configure:2512: result: yes
configure:2518: checking whether gcc accepts -g
configure:2555: result: yes
configure:2582: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before "me"
configure:2585: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2685: checking dependency style of gcc
configure:2747: result: gcc3
configure:2751: checking for gcc option to accept ANSI C
configure:2811: gcc -c -g -O2 conftest.c >&5
configure:2814: $? = 0
configure:2817: test -s conftest.o
configure:2820: $? = 0
configure:2834: result: none needed
configure:2850: checking how to run the C preprocessor
configure:2876: gcc -E conftest.c
configure:2882: $? = 0
configure:2909: gcc -E conftest.c
configure:2906:28: ac_nonexistent.h: No such file or directory
configure:2915: $? = 1
configure: failed program was:
#line 2905 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2952: result: gcc -E
configure:2967: gcc -E conftest.c
configure:2973: $? = 0
configure:3000: gcc -E conftest.c
configure:2997:28: ac_nonexistent.h: No such file or directory
configure:3006: $? = 1
configure: failed program was:
#line 2996 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3045: checking for ANSI C header files
configure:3059: gcc -E conftest.c
configure:3065: $? = 0
configure:3152: gcc -o conftest -g -O2 conftest.c >&5
configure:3155: $? = 0
configure:3157: ./conftest
configure:3160: $? = 0
configure:3173: result: yes
configure:3186: checking for getopt.h
configure:3196: gcc -E conftest.c
configure:3202: $? = 0
configure:3221: result: yes
configure:3231: checking for X
configure:3332: gcc -E conftest.c
configure:3329:27: X11/Intrinsic.h: No such file or directory
configure:3338: $? = 1
configure: failed program was:
#line 3328 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:3383: gcc -o conftest -g -O2 conftest.c -lXt >&5
configure:3372:27: X11/Intrinsic.h: No such file or directory
configure:3386: $? = 1
configure: failed program was:
#line 3371 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
int
main ()
{
XtMalloc (0)
;
return 0;
}
configure:3430: result: no
configure:4307: error: "You must have X installed"

## ----------------- ##
## Cache variables. ##
## ----------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_have_x=have_x=no
ac_cv_header_getopt_h=yes
ac_cv_header_stdc=yes
ac_cv_lib_cposix_strerror=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_prog_cc_stdc=

## ------------ ##
## confdefs.h. ##
## ------------ ##

#define PACKAGE "lineakd"
#define VERSION "0.3.2"
#define STDC_HEADERS 1
#define HAVE_GETOPT_H 1
#define X_DISPLAY_MISSING 1


configure: exit 1





Lineakconfig-0.3.2

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52. Invocation command line was

$ ./configure

## ---------- ##
## Platform. ##
## ---------- ##

hostname = linux
uname -m = i686
uname -r = 2.4.19-4GB
uname -s = Linux
uname -v = #1 Fri Sep 13 13:14:56 UTC 2002

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH = /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:.

## ------------ ##
## Core tests. ##
## ------------ ##

configure:975: PATH=".;."; conftest.sh
./configure: line 976: conftest.sh: command not found
configure:978: $? = 127
configure:1024: checking for a BSD compatible install
configure:1073: result: /usr/bin/install -c
configure:1084: checking whether build environment is sane
configure:1127: result: yes
configure:1160: checking for mawk
configure:1186: result: no
configure:1160: checking for gawk
configure:1175: found /usr/bin/gawk
configure:1183: result: gawk
configure:1193: checking whether make sets ${MAKE}
configure:1213: result: yes
configure:1312: checking for style of include used by make
configure:1339: result: GNU
configure:1386: checking for gcc
configure:1401: found /usr/bin/gcc
configure:1409: result: gcc
configure:1637: checking for C compiler version
configure:1640: gcc --version </dev/null >&5
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1643: $? = 0
configure:1645: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2
configure:1648: $? = 0
configure:1650: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1653: $? = 1
configure:1673: checking for C compiler default output
configure:1676: gcc conftest.c >&5
configure:1679: $? = 0
configure:1708: result: a.out
configure:1713: checking whether the C compiler works
configure:1719: ./a.out
configure:1722: $? = 0
configure:1737: result: yes
configure:1744: checking whether we are cross compiling
configure:1746: result: no
configure:1749: checking for executable suffix
configure:1751: gcc -o conftest conftest.c >&5
configure:1754: $? = 0
configure:1776: result:
configure:1782: checking for object suffix
configure:1800: gcc -c conftest.c >&5
configure:1803: $? = 0
configure:1822: result: o
configure:1826: checking whether we are using the GNU C compiler
configure:1847: gcc -c conftest.c >&5
configure:1850: $? = 0
configure:1853: test -s conftest.o
configure:1856: $? = 0
configure:1868: result: yes
configure:1874: checking whether gcc accepts -g
configure:1892: gcc -c -g conftest.c >&5
configure:1895: $? = 0
configure:1898: test -s conftest.o
configure:1901: $? = 0
configure:1911: result: yes
configure:1938: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before "me"
configure:1941: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2041: checking dependency style of gcc
configure:2103: result: gcc3
configure:2107: checking for strerror in -lcposix
configure:2134: gcc -o conftest -g -O2 conftest.c -lcposix >&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:2137: $? = 1
configure: failed program was:
#line 2115 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strerror ();
int
main ()
{
strerror ();
;
return 0;
}
configure:2154: result: no
configure:2203: checking for gcc
configure:2226: result: gcc
configure:2454: checking for C compiler version
configure:2457: gcc --version </dev/null >&5
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2460: $? = 0
configure:2462: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2
configure:2465: $? = 0
configure:2467: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2470: $? = 1
configure:2473: checking whether we are using the GNU C compiler
configure:2515: result: yes
configure:2521: checking whether gcc accepts -g
configure:2558: result: yes
configure:2585: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before "me"
configure:2588: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2688: checking dependency style of gcc
configure:2750: result: gcc3
configure:2754: checking for gcc option to accept ANSI C
configure:2814: gcc -c -g -O2 conftest.c >&5
configure:2817: $? = 0
configure:2820: test -s conftest.o
configure:2823: $? = 0
configure:2837: result: none needed
configure:2853: checking how to run the C preprocessor
configure:2879: gcc -E conftest.c
configure:2885: $? = 0
configure:2912: gcc -E conftest.c
configure:2909:28: ac_nonexistent.h: No such file or directory
configure:2918: $? = 1
configure: failed program was:
#line 2908 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2955: result: gcc -E
configure:2970: gcc -E conftest.c
configure:2976: $? = 0
configure:3003: gcc -E conftest.c
configure:3000:28: ac_nonexistent.h: No such file or directory
configure:3009: $? = 1
configure: failed program was:
#line 2999 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3048: checking for ANSI C header files
configure:3062: gcc -E conftest.c
configure:3068: $? = 0
configure:3155: gcc -o conftest -g -O2 conftest.c >&5
configure:3158: $? = 0
configure:3160: ./conftest
configure:3163: $? = 0
configure:3176: result: yes
configure:3233: checking for gtk-config
configure:3250: found /usr/bin/gtk-config
configure:3262: result: /usr/bin/gtk-config
configure:3270: checking for GTK - version >= 1.2.0
configure:3373: gcc -o conftest -g -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm >&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
configure:3376: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 3294 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>

int
main ()
{
int major, minor, micro;
char *tmp_version;

system ("touch conf.gtktest");

/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("1.2.0");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "1.2.0");
exit(1);
}

if ((gtk_major_version != 1) ||
(gtk_minor_version != 2) ||
(gtk_micro_version != 10))
{
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
1, 2, 10,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}

configure:3401: result: no
configure:3431: gcc -o conftest -g -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm >&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
configure:3434: $? = 1
configure: failed program was:
#line 3416 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>

int
main ()
{
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
;
return 0;
}
configure:3471: error: Cannot find GTK: Is gtk-config in path?

## ----------------- ##
## Cache variables. ##
## ----------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_stdc=yes
ac_cv_lib_cposix_strerror=no
ac_cv_objext=o
ac_cv_path_GTK_CONFIG=/usr/bin/gtk-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_prog_cc_stdc=

## ------------ ##
## confdefs.h. ##
## ------------ ##

#define PACKAGE "lineakconfig"
#define VERSION "0.3.2"
#define STDC_HEADERS 1


configure: exit 1



MfG AG


Die Unsicherheit steigt ständig!

wurzel
10.03.03, 20:24
habe das gleiche problem, als user kann ich gar nix schaffe??? hast du vielleicht in der zwischenzeit eine lösung gefunden?

gruß wurzel

Supernature
11.03.03, 07:33
Direkt nach der Installation muss man sich sofort wieder als root abmelden - wenn man die Konfiguration auch als root durchführt, hat man hinterher als User keinen Zugriff mehr.
Ich habe kürzlich eine Install-Anleitung für LinEAK geschrieben, siehe hier (http://www.supernature-forum.de/vbb/showthread.php?s=&threadid=21320).
Es beschreibt die Installation 1:1, wie ich sie auf meinem SuSE 8.1 gemacht habe, also muss das klappen ;)

wurzel
11.03.03, 23:28
super anleitung.... danke

wurzel
13.03.03, 18:09
hi, war echt klasse die anleitung, weil ich die zusatztasten geren nutze :-) allerdings hätte ich armer newbie noch eine frage, wie finde ich die entsprechenden befehle heraus?

danke
wurzel

Supernature
13.03.03, 20:14
Meinst Du jetzt die Befehle mit denen Du bestimmte Programmaktionen ausführen kannst?
In der Regel am einfachsten durch <programmname> --help auf der Konsole, dann werden die verfügbaren Optionen aufgelistet.

wurzel
13.03.03, 22:50
jo, danke für die hilfe, manchmal kann man auch durch viel testen den richtigen weg finden :-), möchte gern die shutdowntaste auch mit runterfahren belegen, konqueror etc ist kein problem mehr aber der rest?

wäre klasse wenn du mir helfen könntest?

danke

Supernature
20.03.03, 09:07
Sorry, hat etwas gedauert ;)
Ist das Problem noch aktuell? Ich bin mir da auch relativ unsicher, aber versuch doch einfach mal die Befehle "halt" bzw. "shutdown", das sollte eigentlich gehen. Vielleicht weiß es aber jemand genauer...

zorck
22.03.03, 21:55
Jambo,
feine Sache das lineakd.
Hab' fast alles am Laufen aber weiß einer was man für die Webback und Webforward-Tasten eintragen muss, damit das im Konqueror funzt?
Lineakconf läuft bei mir nicht; die Fehlermeldung behauptet ständig, dass lineakd nicht läuft.

wurzel
23.03.03, 14:01
moin,

also shutdown und halt funktionieren nicht, aber danke für deine mühe.
@zorck ich glaube nicht, dass man lineakd und konqueror so nutzen kann, aber wenn du was herausfindest, wäre ich dankbar wenn du mir die lösungen mitteilen könntest. vielleicht hast du ja auch eine antwort darauf, wie man den shutdown-knopf konfigurieren muss?

zorck
23.03.03, 18:15
Jambo,

"halt" bzw. "shutdown" kann nicht funzen, weil dafür ROOT-Rechte erforderlich sind; probier's mal auf der Konsole. Das dürfte nur mit dem "KDE-Befehl" für "Abmelden erfolgreich sein.