LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 09-01-2002, 04:13 AM   #31
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56

rpm's are only nice when you use an rpm based sytem......and if you do then rpmfind.net should be your number 1 bookmark.

Last edited by Aussie; 09-01-2002 at 04:14 AM.
 
Old 09-01-2002, 08:13 PM   #32
BrandonJG
LQ Newbie
 
Registered: Aug 2002
Location: Mesa,AZ
Distribution: RedHat 7.3
Posts: 10

Rep: Reputation: 0
running as root, here's the last couple of lines that are outputted when I run the "make install"

/bin/sh: ldconfig: command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/home/brandon/downloads/imwheel-1.0.0pre1/gpm-1.19.3'
make: *** [install-recursive] Error 1

I'm not sure what the means but I've tried half a dozen times and I get the same result.
 
Old 09-01-2002, 08:27 PM   #33
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You have to fix this error.
/bin/sh: ldconfig: command not found
 
Old 09-01-2002, 08:44 PM   #34
BrandonJG
LQ Newbie
 
Registered: Aug 2002
Location: Mesa,AZ
Distribution: RedHat 7.3
Posts: 10

Rep: Reputation: 0
thats kinda what I was thinking. What is that command?
Any ideas why I dont have it available? I can see that the file resides in my /sbin directory.

This is fresh install of RedHat 7.3.

Last edited by BrandonJG; 09-01-2002 at 08:53 PM.
 
Old 09-01-2002, 09:12 PM   #35
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Thats where it should be, when you su to root try doing "su -", the - will set the full root path, and then try "make install" again.
 
Old 09-01-2002, 09:38 PM   #36
BrandonJG
LQ Newbie
 
Registered: Aug 2002
Location: Mesa,AZ
Distribution: RedHat 7.3
Posts: 10

Rep: Reputation: 0
well that did it. It compiled. Thanks a bunch Aussie. Is there any reason not to use "su -" all the time instead of just "su"?
 
Old 09-01-2002, 10:02 PM   #37
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
It's a good idea in redhat.
 
Old 10-10-2002, 06:49 AM   #38
Rational
LQ Newbie
 
Registered: Oct 2002
Posts: 1

Rep: Reputation: 0
Why don't they?....

Alright, I'm a newbie to Linux. It's cool and all and I hope it becomes the next big thing in desktops for a lot of reasons. But WHY DO I HAVE TO INSTALL MY INTELLIMOUSE OPTICAL USB 5 BUTTON WITH THIS LOW LEVEL PROGRAMMING CRAP!?????

I mean, jeeesh Linux community. Get with the program. I'm a brainless Windows user like the rest of humanity. Stick this model in the list of available mice and be done with it! Thanks.
Rational

You'll never kill MS with crap like this.

oh, but I do think its cool how Aussie and other are nice enough to take the time to help us mortals through this junk...
 
Old 10-10-2002, 07:08 AM   #39
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Problems installing hardware have nothing whatsoever to do with linux and/or the linux community, it is the responsibility of the company that makes the hardware to provide the support for their products, so go and post your rants at their web site.
 
Old 10-26-2002, 05:44 PM   #40
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
thanks aussie, i was a lil chicken to try, but after folowing your instructions, everything works fine ! my 1st scripts work too !

time to get the camera, and cd-writer workin
 
Old 11-13-2002, 09:58 PM   #41
ciscokidd
LQ Newbie
 
Registered: Aug 2002
Posts: 5

Rep: Reputation: 0
help with imwheel install

ok, so i have my ms intellimouse explorer kinda working in suse 8.1. the wheel scrolls and the buttons are mapped correctly. BUT i can't figure out how to get imwheel to install correctly.

this is my ./configure:

:~/src/imwheel-1.0.0pre2> ./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 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 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 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 gcc option to accept ANSI C... none needed
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... no
checking if we want to check for XFree86... yes
checking for X... X
checking if X is XFree86... yes
checking for XCreateWindow in -lX11... no
configure: WARNING: IMWheel depends on the X11 libraries!
checking for XextAddDisplay in -lXext... no
checking for XtFree in -lXt... no
checking for XmuInternAtom in -lXmu... no
checking for XTestFakeDeviceKeyEvent in -lXtst... no
configure: WARNING: IMWheel depends on the XTest extention!

You had 2 warnings during configure, imwheel may not compile or run.

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 default-1 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... no
checking how to run the C preprocessor... gcc -E
checking for syslog.h... yes
checking for linux/joystick.h... yes
checking for ncurses.h... no
checking for ncurses/curses.h... no
checking for curses.h... no
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... no
checking for tputs in -ltermcap... no
checking for tputs in -ltermlib... no
checking for wgetch in -lncurses... no
checking for wgetch in -lcurses... no
updating cache /dev/null
creating ./config.status
creating Makefile
creating doc/Makefile
creating contrib/Makefile
creating config.h
config.h is unchanged

and so i can't run make but this is what outputs when i do run it:

make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/home/ciscokidd/src/imwheel-1.0.0pre2'
Making all in jax
make[2]: Entering directory `/home/ciscokidd/src/imwheel-1.0.0pre2/jax'
source='jax.c' object='jax.o' libtool=no \
depfile='.deps/jax.Po' tmpdepfile='.deps/jax.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c `test -f jax.c || echo './'`jax.c
In file included from jax.c:2:
jax.h:6:22: X11/Xlib.h: No such file or directory
jax.h:7:23: X11/Xutil.h: No such file or directory
jax.h:8:27: X11/Xresource.h: No such file or directory
In file included from jax.c:2:
jax.h:26: parse error before "Display"
jax.h:26: warning: no semicolon at end of struct or union
jax.h:30: parse error before "w"
jax.h:30: warning: data definition has no type or storage class
jax.h:32: parse error before "xswa"
jax.h:32: warning: data definition has no type or storage class
jax.h:33: parse error before "xwa"
jax.h:33: warning: data definition has no type or storage class
jax.h:35: parse error before "wname"
jax.h:35: warning: data definition has no type or storage class
jax.h:36: parse error before "iname"
jax.h:36: warning: data definition has no type or storage class
jax.h:37: parse error before '*' token
jax.h:37: warning: data definition has no type or storage class
jax.h:38: parse error before '*' token
jax.h:38: warning: data definition has no type or storage class
jax.h:39: parse error before '*' token
jax.h:39: warning: data definition has no type or storage class
jax.h:42: parse error before "xe"
jax.h:42: warning: data definition has no type or storage class
jax.h:45: parse error before "xgcv"
jax.h:45: warning: data definition has no type or storage class
jax.h:47: parse error before "gc"
jax.h:47: warning: data definition has no type or storage class
jax.h:48: parse error before '*' token
jax.h:48: warning: data definition has no type or storage class
jax.h:50: parse error before "cmap"
jax.h:50: warning: data definition has no type or storage class
jax.h:58: parse error before '}' token
jax.h:58: warning: data definition has no type or storage class
jax.h:60: parse error before '*' token
jax.h:62: parse error before '*' token
jax.h:63: parse error before '*' token
jax.h:64: parse error before '*' token
jax.h:64: warning: data definition has no type or storage class
jax.h:66: parse error before '*' token
jax.h:66: warning: data definition has no type or storage class
jax.h:68: parse error before '*' token
jax.h:70: parse error before '*' token
jax.h:71: parse error before '*' token
jax.h:72: parse error before '*' token
jax.h:75: parse error before '*' token
jax.h:79: parse error before '*' token
jax.h:81: parse error before '*' token
jax.h:82: parse error before '*' token
jax.h:83: parse error before '*' token
jax.h:84: parse error before '*' token
jax.h:85: parse error before '*' token
jax.c:8: parse error before '*' token
jax.c: In function `JAXusage':
jax.c:12: `prog_name' undeclared (first use in this function)
jax.c:12: (Each undeclared identifier is reported only once
jax.c:12: for each function it appears in.)
jax.c:13: `jax' undeclared (first use in this function)
jax.c:21: `usage' undeclared (first use in this function)
jax.c: At top level:
jax.c:36: parse error before '*' token
jax.c: In function `JAXgetopts':
jax.c:40: `argc' undeclared (first use in this function)
jax.c:40: `argv' undeclared (first use in this function)
jax.c:42: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:87: parse error before '*' token
jax.c: In function `JAXgetrdb':
jax.c:91: `XrmValue' undeclared (first use in this function)
jax.c:91: parse error before "xrmvalue"
jax.c:92: `XrmDatabase' undeclared (first use in this function)
jax.c: At top level:
jax.c:101: parse error before '*' token
jax.c: In function `JAXnewjax':
jax.c:103: `jax' undeclared (first use in this function)
jax.c:105: parse error before ')' token
jax.c: At top level:
jax.c:110: parse error before '*' token
jax.c: In function `JAXinit':
jax.c:112: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:150: parse error before '*' token
jax.c: In function `JAXopenrootwin':
jax.c:152: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:160: parse error before '*' token
jax.c: In function `JAXcreatewin':
jax.c:163: `jax' undeclared (first use in this function)
jax.c:165: `x' undeclared (first use in this function)
jax.c:165: `y' undeclared (first use in this function)
jax.c:165: `h' undeclared (first use in this function)
jax.c:177: `argv' undeclared (first use in this function)
jax.c:180: `winName' undeclared (first use in this function)
jax.c:185: `iconName' undeclared (first use in this function)
jax.c:203: `PPosition' undeclared (first use in this function)
jax.c:203: `PSize' undeclared (first use in this function)
jax.c:203: `PMinSize' undeclared (first use in this function)
jax.c:203: `PMaxSize' undeclared (first use in this function)
jax.c:209: `argc' undeclared (first use in this function)
jax.c: At top level:
jax.c:216: parse error before '*' token
jax.c: In function `JAXuseGeometry':
jax.c:221: `jax' undeclared (first use in this function)
jax.c:228: `XValue' undeclared (first use in this function)
jax.c:228: `not_allowed_bitmask' undeclared (first use in this function)
jax.c:230: `USPosition' undeclared (first use in this function)
jax.c:233: `YValue' undeclared (first use in this function)
jax.c:238: `WidthValue' undeclared (first use in this function)
jax.c:240: `USSize' undeclared (first use in this function)
jax.c:243: `HeightValue' undeclared (first use in this function)
jax.c: At top level:
jax.c:259: parse error before '*' token
jax.c: In function `JAXmapWin':
jax.c:261: `jax' undeclared (first use in this function)
jax.c:263: `raised' undeclared (first use in this function)
jax.c: At top level:
jax.c:275: parse error before '*' token
jax.c: In function `JAXdefaultGC':
jax.c:277: `jax' undeclared (first use in this function)
jax.c:279: `GCForeground' undeclared (first use in this function)
jax.c:279: `GCBackground' undeclared (first use in this function)
jax.c: At top level:
jax.c:284: parse error before '*' token
jax.c: In function `JAXexit':
jax.c:286: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:294: parse error before '*' token
jax.c: In function `JAXaddevents':
jax.c:298: `je' undeclared (first use in this function)
jax.c:299: `jax' undeclared (first use in this function)
jax.c:307: `CWEventMask' undeclared (first use in this function)
jax.c: At top level:
jax.c:313: parse error before '*' token
jax.c: In function `JAXeventnow':
jax.c:317: `jax' undeclared (first use in this function)
jax.c:317: `QueuedAfterReading' undeclared (first use in this function)
jax.c:322: `MappingNotify' undeclared (first use in this function)
jax.c:323: `XMappingEvent' undeclared (first use in this function)
jax.c:323: parse error before ')' token
jax.c: At top level:
jax.c:335: parse error before '*' token
jax.c: In function `JAXwaitforevent':
jax.c:341: `jax' undeclared (first use in this function)
jax.c:344: `MappingNotify' undeclared (first use in this function)
jax.c:345: `XMappingEvent' undeclared (first use in this function)
jax.c:345: parse error before ')' token
jax.c: At top level:
jax.c:355: parse error before '*' token
jax.c: In function `JAXeventhandler':
jax.c:359: `jax' undeclared (first use in this function)
jax.c: At top level:
jax.c:368: parse error before '*' token
jax.c: In function `JAXeventloop':
jax.c:374: `jax' undeclared (first use in this function)
make[2]: *** [jax.o] Error 1
make[2]: Leaving directory `/home/ciscokidd/src/imwheel-1.0.0pre2/jax'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ciscokidd/src/imwheel-1.0.0pre2'
make: *** [all] Error 2


can anyone help me with this error msg?
 
Old 11-13-2002, 10:12 PM   #42
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Make sure you have the XFree86-devel rpm's installed.
 
Old 11-14-2002, 01:24 AM   #43
ciscokidd
LQ Newbie
 
Registered: Aug 2002
Posts: 5

Rep: Reputation: 0
tanks aussie! yoda man!
 
Old 11-14-2002, 01:45 AM   #44
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Your welcome :-)
 
Old 12-27-2002, 11:55 PM   #45
Eyecannon
LQ Newbie
 
Registered: Sep 2002
Location: Santa Monix
Distribution: Redhat 8.0
Posts: 12

Rep: Reputation: 0
OK, first off, thanks for all the help with this... I have gotten everything almost 100% totally working. I have a Intellimouse Optical with one button on either side, and I want the left button to be End and the right button to be Escape, and also I want the mousewheel button to be Home.

Here is my script to run imwheel:
Code:
#!/bin/sh
imwheel -k -b "267"
xmodmap:
Code:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
and .imwheelrc:
Code:
".*"
 None, Up, Home
 None, Down, End
 None, Down, Escape
What obvious thing am I doing wrong?

With this setup, only the mousewheel button (Home) and leftside button (End) work, the right button does nothing. When I capture with xev, it gives the code for Next, whatever that is.

Also, if I'm just doing the two side buttons, they will work (Escape and End work) So I know the Escape syntax is at least semi-correct.

Last edited by Eyecannon; 12-28-2002 at 12:00 AM.
 
  


Reply

Tags
mouseconfig


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.1 and Intellimouse Optical side buttons STuPiDiCuS Linux - Hardware 1 09-23-2004 11:23 PM
side mouse buttons on intellimouse Slack10 Earth Slackware 7 07-18-2004 12:50 PM
Intellimouse side buttons (yet again?) Toker Linux - Newbie 7 10-05-2003 02:55 AM
Intellimouse AND Side Buttons, HOW TO- Alternate Caoster Linux - Hardware 0 07-18-2003 05:53 AM
side-buttons. intellimouse ! sapilas Linux - Distributions 2 05-24-2002 05:29 AM


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

Main Menu
Advertisement
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