LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-06-2003, 12:45 AM   #1
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Rep: Reputation: 15
imwheel compiling problem


Small text is fixed:
In my continuing effort to get the side buttons functioning, I tried to install imwheel. To my Autostart I added:

#!/bin/sh
imwheel -k -b "67"

Befor I added that, I had:

#!/bin/bash
xmodmap -e "pointer = 1 2 3 6 7 4 5"

Now when I log out/back in a dialog box pops up stating:

Couldn't find the program 'Autostart'

The odd part here is, the xmodmap part of the script is still loading as though everything is fine.

I added the lines right after the first two. Is there a character needed for multiple lines in the script (somehow, that I doubt,) or can anyone take a guess as to what's wrong?


If anyone if familiar with imwheel, let me know. I have a suspiscion that something may have gone wrong in the compilation, but I'm too much of a newbie to comprehend what's going wrong.

Last edited by Toker; 10-06-2003 at 01:38 AM.
 
Old 10-06-2003, 12:50 AM   #2
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Scratch that... When I reversed the order of the script, everything worked fine (?!??)

Still no buttons though, so I'm still looking for anyone that may know/use imwheel.... If I just type the command 'imwheel' I get a command not found. Does that mean it didn't install correctly?
 
Old 10-06-2003, 12:53 AM   #3
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
search the forum for intellimouse
or buttons

same troubles popped up a few days ago

I mayself use the intellimouse without all the extra buttons
 
Old 10-06-2003, 01:10 AM   #4
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Well, yes.... I've been doing nothing but searches for days now... In fact, there's a topic by me at the bottom of this page (maybe on 2, things move fast here.) all about how I've followed everyone elses topics and still have trouble...

However, I'm not asking about the mouse, I'm asking about configuring imwheel.....
 
Old 10-06-2003, 01:14 AM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
can you run
imwheel as root? If you can, as root do
whereis imwheel
and it will tell you where it is. If it is, e.g., /sbin/imwheel
try if you can run
/sbin/imwheel
as a normal user.
 
Old 10-06-2003, 01:21 AM   #6
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
running 'imwheel' as root returns command not found....

Since I am such a newbie, I may not be compiling things right.

I d/l the .tar.gz file from the main imwheel site, and unpacked it to /usr/src/imwheel, When I ran /.configure:
Quote:
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 gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for regcomp... yes
checking for strdup... yes
checking for strtol... yes
checking for getopt_long_only... yes
checking that regex functions are available... yes
checking where the pid file goes... /tmp
checking if we suid imwheel at install... no
checking if we use the included getopts... no
checking if we build mdetect... no
checking if we build mdump... no
checking if we build extras... no
checking for gpm-1.19.3/gpm.c... yes
checking if we build gpm-imwheel... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if we want to check for XFree86... yes
checking for X... X
checking if X is XFree86... yes
checking for XCreateWindow in -lX11... yes
checking for XextAddDisplay in -lXext... yes
checking for XtFree in -lXt... yes
checking for XmuInternAtom in -lXmu... yes
checking for XTestFakeDeviceKeyEvent in -lXtst... yes
configure: creating ./config.status
config.status: creating jax/Makefile
config.status: creating Makefile
config.status: creating mdetect/Makefile
config.status: creating getopt/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: configuring in gpm-1.19.3
configure: running /bin/sh './configure' --prefix=/usr/local --cache-file=/dev/null --srcdir=.
loading cache /dev/null
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
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 for bison... no
checking for byacc... no
checking whether ln -s works... yes
checking for emacs... /usr/bin/emacs
checking where to install Emacs Lisp files... /usr/share/emacs/site-lisp
checking how to run the C preprocessor... gcc -E
checking for syslog.h... yes
checking for linux/joystick.h... yes
checking for ncurses.h... yes
checking for ncurses/curses.h... yes
checking for curses.h... yes
checking for sys/sysmacros.h... yes
checking for linux/major.h... yes
checking for linux/tty.h... yes
checking for __u32... yes
checking whether system is ELF... yes
checking for vsyslog... yes
checking for syslog... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for tputs in -ltinfo... no
checking for tputs in -lncurses... yes
checking for wgetch in -lncurses... yes
updating cache /dev/null
creating ./config.status
creating Makefile
creating doc/Makefile
creating contrib/Makefile
creating config.h
config.h is unchanged
make:
Quote:
root@x1-6-00-0c-6e-56-74-7b imwheel-1.0.0pre5]# make
make all-recursive
make[1]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5'
Making all in jax
make[2]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5/jax'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5/jax'
Making all in gpm-1.19.3
make[2]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3'
gcc -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/usr/local/etc\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -c -o mice.o mice.c
gcc -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/usr/local/etc\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -c -o twiddler.o twiddler.c
gcc -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/usr/local/etc\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -c -o synaptics.o synaptics.c
synaptics.c: In function `syn_read_config_file':
synaptics.c:776: warning: deprecated use of label at end of compound statement
gcc -L. -o gpm gpm.o gpn.o mice.o special.o twiddler.o synaptics.o debuglog.o
gpn.o(.text+0x3ed): In function `check_uniqueness':
/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3/gpn.c:237: the use of `mktemp' is dangerous, better use `mkstemp'
gcc -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/usr/local/etc\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -c -o libxtra.o libxtra.c
ar rc libgpm.a liblow.o libhigh.o libxtra.o debuglog.o libcurses.o
ranlib libgpm.a
gcc -L. -o mev mev.o libgpm.a
gcc -L. -o hltest hltest.o libgpm.a
gcc -L. -o mouse-test mouse-test.o mice.o twiddler.o synaptics.o libgpm.a
gcc -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/usr/local/etc\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -c -o disable-paste.o disable-paste.c
gcc -L. -o disable-paste disable-paste.o libgpm.a
gcc -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/usr/local/etc\" -DSBINDIR=\"/usr/local/sbin\" -g -O2 -c -o gpm-root.o gpm-root.c
gpm-root.y:480:12: warning: extra tokens at end of #undef directive
gpm-root.y: In function `f_fgcmd':
gpm-root.y:521: warning: deprecated use of label at end of compound statement
gpm-root.y:630:8: warning: extra tokens at end of #endif directive
gcc -L. -o gpm-root gpm-root.o libgpm.a
gcc -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -I/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3 -DHAVE_CONFIG_H -include ./config.h -DSYSCONFDIR=\"/usr/local/etc\" -DSBINDIR=\"/usr/local/sbin\" -DPIC -fPIC -g -O2 -c -o libxtra.lo libxtra.c
gcc -fPIC -shared -Wl,-soname,libgpm.so.1 \
-L. -o libgpm.so.1.18.0 liblow.lo libhigh.lo libxtra.lo debuglog.lo libcurses.lo -lncurses -lncurses -lc
make[3]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3/doc'
sed -f /usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3/doc/infofilter doc.gpm > gpm.texinfo
chmod 400 gpm.texinfo
touch gpm.oo
if test "x`ls gpm.?? gpm.aux 2>/dev/null`" != "x"; then \
for i in `ls gpm.?? gpm.aux 2>/dev/null`; do \
cp $i $i~; \
done; \
fi
tex gpm.texinfo
make[3]: tex: Command not found
make[3]: *** [gpm.dvi] Error 127
rm gpm.texinfo
make[3]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3/doc'
make[2]: *** [do-all] Error 1
make[2]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5'
make: *** [all] Error 2
[root@x1-6-00-0c-6e-56-74-7b imwheel-1.0.0pre5]#
Make install:
Quote:
Making install in jax
make[1]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5/jax'
make[2]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5/jax'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5/jax'
make[1]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5/jax'
Making install in gpm-1.19.3
make[1]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3'
make[2]: Entering directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3/doc'
sed -f /usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3/doc/infofilter doc.gpm > gpm.texinfo
chmod 400 gpm.texinfo
touch gpm.oo
if test "x`ls gpm.?? gpm.aux 2>/dev/null`" != "x"; then \
for i in `ls gpm.?? gpm.aux 2>/dev/null`; do \
cp $i $i~; \
done; \
fi
tex gpm.texinfo
make[2]: tex: Command not found
make[2]: *** [gpm.dvi] Error 127
rm gpm.texinfo
make[2]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3/doc'
make[1]: *** [do-all] Error 1
make[1]: Leaving directory `/usr/src/imwheel/imwheel-1.0.0pre5/gpm-1.19.3'
make: *** [install-recursive] Error 1
I'm not sure what to gather from those errors as to what's needed.

Last edited by Toker; 10-06-2003 at 01:24 AM.
 
Old 10-06-2003, 01:43 AM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
Quote:
make[3]: tex: Command not found
install the package called tetex: Go to mandrake control center -> software management ->install software and search for tetex and install it. Hopefully, this is all you need.
 
Old 10-06-2003, 02:16 AM   #8
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
That was it! Thank you quatsch! Now that that's working, back to my mouse troubles....
 
Old 10-06-2003, 03:26 AM   #9
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
what is imwheel

thought that was the mouse???

somedays it pays to sleep
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
having trouble with a intall script dexterwy Linux - Software 1 06-03-2005 11:22 AM
Trouble when automating ftp with shell script hari_s_82 Linux - Newbie 2 09-23-2004 03:17 AM
cgi script trouble Michele Programming 5 05-14-2004 04:23 PM
Trouble with a basic bash script Tengil Linux - Newbie 5 03-04-2004 01:59 PM
Trouble in Shell Script Gerardoj Linux - General 6 12-02-2003 10:21 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration