on my TUXEDO InfinityBook Pro 15 v4 running leap 15.0 and KDE, I would like to install the xerox drivers given from xerox site.
as the instruction says:
Installation requires the user have root or superuser privileges.
I unzipped the files in /install
and the instructions says:
run setup within the install directory as root to install the driver.
NOTE: setup will expand and install the compressed tar file in the install
directory, generate script files and other files that are needed
at run time. The following syntaxes are supported:
1) setup <== menu driven install
2) setup tmp_path <== menu driven install
3) setup install install_path <== no menu, just install
4) setup install install_path tmp_path <== no menu, just install
install_path is the installation directory which will contain all
the Xerox software.
tmp_path is a temporary work area. /tmp is the default work area.
In any of the above syntaxes the no_space_check is also supported
and will disable the check to ensure free space exists in the install and
tmp paths.
I opened a root konsole in the folder where I unzipped the files
setup file is executable
when I run ./setup this errors appear
pla4-TW:/install/XeroxLinuxi686xpxxInstall # ./setup
bash: ./setup: No such file or directory
pla4-TW:/install/XeroxLinuxi686xpxxInstall # setup
If 'setup' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf setup
pla4-TW:/install/XeroxLinuxi686xpxxInstall # ls
disks isize pkg_tar.z2 pkg_tar.z4 pkg_tar.z6 pkg_tar.z8 readme tsize
installf.rom pkg_tar.z1 pkg_tar.z3 pkg_tar.z5 pkg_tar.z7 pkg_tar.z9 setup
pla4-TW:/install/XeroxLinuxi686xpxxInstall #
Hi
Check the file permissions, I suspect it’s not executable, however, why don’t you unpack all these files as you user, then just switch to root, then run (or better yet run as your user and see if it just asks for the password)?
Anyway… either;
sh ./setup
or
chmod 0700 setup
./setup
Did you inspect the script to see what it’s doing, or is it a binary blob… I say this, just ask bumblebee users what happened a few years back (or a google on it) when running that script without checking…
Based only on that name, I would guess that it is a 32-bit installer. Do you have the needed 32-bit libraries installed in your system? At the very least, you might try installing “glibc-32bit”.
[QUOTE=malcolmlewis;2902658]Hi
Check the file permissions, I suspect it’s not executable, however, why don’t you unpack all these files as you user, then just switch to root, then run (or better yet run as your user and see if it just asks for the password)?
I started so, but after the rise of problems to get rid every doubt I went to root directly
[QUOTE=malcolmlewis;2902658]Anyway… either;
sh ./setup
or
chmod 0700 setup
./setup
pla4-TW:/install/phaser_7500/Phaser7500_Linuxi686xpxx_4.30.26/XeroxLinuxi686xpxxInstall # sh .
./setup: ./setup: cannot execute binary file
pla4-TW:/install/phaser_7500/Phaser7500_Linuxi686xpxx_4.30.26/XeroxLinuxi686xpxxInstall # chmod 0700 setup
pla4-TW:/install/phaser_7500/Phaser7500_Linuxi686xpxx_4.30.26/XeroxLinuxi686xpxxInstall # ./setup
bash: ./setup: No such file or directory
pla4-TW:/install/phaser_7500/Phaser7500_Linuxi686xpxx_4.30.26/XeroxLinuxi686xpxxInstall # ls -l setup
-rwx------ 1 pla users 394598 mag 16 15:51 setup
pla4-TW:/install/phaser_7500/Phaser7500_Linuxi686xpxx_4.30.26/XeroxLinuxi686xpxxInstall #
[QUOTE=malcolmlewis;2902658]Did you inspect the script to see what it’s doing, or is it a binary blob… I say this, just ask bumblebee users what happened a few years back (or a google on it) when running that script without checking…
it’s a bynary blob becouse opening with kate show strange things
The file /install/phaser_7500/Phaser7500_Linuxi686xpxx_4.30.26/XeroxLinuxi686xpxxInstall/setup was opened with UTF-8 encoding but contained invalid characters.
It is set to read-only mode, as saving might destroy its content.
Either reopen the file with the correct encoding chosen or enable the read-write mode again in the tools menu to be able to edit it.
I made the same as you, but the result when I try to launch setup is the same, …and why it says “bash: ./setup: No such file or directory” …no such file?!
pla4-TW:/install # tar xvf Phaser7500_Linuxi686xpxx_4.30.26.tgz
XeroxLinuxi686xpxxInstall/
XeroxLinuxi686xpxxInstall/pkg_tar.z7
XeroxLinuxi686xpxxInstall/pkg_tar.z2
XeroxLinuxi686xpxxInstall/disks
XeroxLinuxi686xpxxInstall/pkg_tar.z3
XeroxLinuxi686xpxxInstall/pkg_tar.z8
XeroxLinuxi686xpxxInstall/tsize
XeroxLinuxi686xpxxInstall/installf.rom
XeroxLinuxi686xpxxInstall/pkg_tar.z6
XeroxLinuxi686xpxxInstall/setup
XeroxLinuxi686xpxxInstall/pkg_tar.z1
XeroxLinuxi686xpxxInstall/isize
XeroxLinuxi686xpxxInstall/pkg_tar.z4
XeroxLinuxi686xpxxInstall/pkg_tar.z5
XeroxLinuxi686xpxxInstall/readme
XeroxLinuxi686xpxxInstall/pkg_tar.z9
pla4-TW:/install # cd XeroxLinuxi686xpxxInstall/
pla4-TW:/install/XeroxLinuxi686xpxxInstall # ll
total 12208
-rw-r--r-- 1 3099 5000 155 set 28 2009 disks
-rw-r--r-- 1 3099 5000 18 set 28 2009 installf.rom
-rw-r--r-- 1 3099 5000 7 set 28 2009 isize
-rw-r--r-- 1 3099 5000 1052669 set 28 2009 pkg_tar.z1
-rw-r--r-- 1 3099 5000 1457661 set 28 2009 pkg_tar.z2
-rw-r--r-- 1 3099 5000 1457661 set 28 2009 pkg_tar.z3
-rw-r--r-- 1 3099 5000 1457661 set 28 2009 pkg_tar.z4
-rw-r--r-- 1 3099 5000 1457661 set 28 2009 pkg_tar.z5
-rw-r--r-- 1 3099 5000 1457661 set 28 2009 pkg_tar.z6
-rw-r--r-- 1 3099 5000 1457661 set 28 2009 pkg_tar.z7
-rw-r--r-- 1 3099 5000 1457661 set 28 2009 pkg_tar.z8
-rw-r--r-- 1 3099 5000 815273 set 28 2009 pkg_tar.z9
-rw-r--r-- 1 3099 5000 8065 set 28 2009 readme
-rwxr-xr-x 1 3099 5000 394598 set 28 2009 setup
-rw-r--r-- 1 3099 5000 6 set 28 2009 tsize
pla4-TW:/install/XeroxLinuxi686xpxxInstall # setup
If 'setup' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf setup
pla4-TW:/install/XeroxLinuxi686xpxxInstall # ./setup
pla4-TW:/install/XeroxLinuxi686xpxxInstall # sh ./setup
./setup: ./setup: cannot execute binary file
pla4-TW:/install/XeroxLinuxi686xpxxInstall #
Hi
Like I said, untar as your user (my output shows it’s owned by myuser and group users)… as root user it’s setting the user and group to an unknown… 3099 (user) and 5000 (group).
Or chown the directory and files, again unless your careful and doing that as root user could bork your system. If you do (not trying to sound like a broken record ) everything like that as your user, just switch to root user and it will work (well should…).
IIRC these Phaser series printers by Xerox were internally HP Laserjets. The OpenPrinting packages do provide drivers, I would simply try a modelno close to 7500 . FWIW, Again IIRC the hplip or hpijs package contains drivers for the Xerox Phaser series.
…it seems not:sarcastic: …if I didn’t do the rightlol!
pla@pla4-TW:~/bin/install/driver del 2010 v 4.30.28> tar xvf XeroxLinuxi686xpxx_4.30.28.tgz
XeroxLinuxi686xpxxInstall/
XeroxLinuxi686xpxxInstall/pkg_tar.z7
XeroxLinuxi686xpxxInstall/pkg_tar.z2
XeroxLinuxi686xpxxInstall/disks
XeroxLinuxi686xpxxInstall/pkg_tar.z3
XeroxLinuxi686xpxxInstall/pkg_tar.z8
XeroxLinuxi686xpxxInstall/tsize
XeroxLinuxi686xpxxInstall/installf.rom
XeroxLinuxi686xpxxInstall/pkg_tar.z6
XeroxLinuxi686xpxxInstall/setup
XeroxLinuxi686xpxxInstall/pkg_tar.z1
XeroxLinuxi686xpxxInstall/isize
XeroxLinuxi686xpxxInstall/pkg_tar.z4
XeroxLinuxi686xpxxInstall/pkg_tar.z5
XeroxLinuxi686xpxxInstall/readme
XeroxLinuxi686xpxxInstall/pkg_tar.z9
pla@pla4-TW:~/bin/install/driver del 2010 v 4.30.28> ll
total 10244
-rw-r--r-- 1 pla users 10482029 mag 17 16:22 XeroxLinuxi686xpxx_4.30.28.tgz
drwxr-xr-x 2 pla users 4096 nov 9 2009 XeroxLinuxi686xpxxInstall
pla@pla4-TW:~/bin/install/driver del 2010 v 4.30.28> cd X
bash: cd: X: No such file or directory
pla@pla4-TW:~/bin/install/driver del 2010 v 4.30.28> cd XeroxLinuxi686xpxxInstall/
pla@pla4-TW:~/bin/install/driver del 2010 v 4.30.28/XeroxLinuxi686xpxxInstall> ll
total 12292
-rw-r--r-- 1 pla users 155 nov 9 2009 disks
-rw-r--r-- 1 pla users 18 nov 9 2009 installf.rom
-rw-r--r-- 1 pla users 7 nov 9 2009 isize
-rw-r--r-- 1 pla users 1052669 nov 9 2009 pkg_tar.z1
-rw-r--r-- 1 pla users 1457661 nov 9 2009 pkg_tar.z2
-rw-r--r-- 1 pla users 1457661 nov 9 2009 pkg_tar.z3
-rw-r--r-- 1 pla users 1457661 nov 9 2009 pkg_tar.z4
-rw-r--r-- 1 pla users 1457661 nov 9 2009 pkg_tar.z5
-rw-r--r-- 1 pla users 1457661 nov 9 2009 pkg_tar.z6
-rw-r--r-- 1 pla users 1457661 nov 9 2009 pkg_tar.z7
-rw-r--r-- 1 pla users 1457661 nov 9 2009 pkg_tar.z8
-rw-r--r-- 1 pla users 903765 nov 9 2009 pkg_tar.z9
-rw-r--r-- 1 pla users 8065 nov 9 2009 readme
-rwxr-xr-x 1 pla users 394598 nov 9 2009 setup
-rw-r--r-- 1 pla users 6 nov 9 2009 tsize
pla@pla4-TW:~/bin/install/driver del 2010 v 4.30.28/XeroxLinuxi686xpxxInstall> su
Password:
pla4-TW:/home/pla/bin/install/driver del 2010 v 4.30.28/XeroxLinuxi686xpxxInstall # ./setup
bash: ./setup: No such file or directory
pla4-TW:/home/pla/bin/install/driver del 2010 v 4.30.28/XeroxLinuxi686xpxxInstall # sh ./setup
./setup: ./setup: cannot execute binary file
pla4-TW:/home/pla/bin/install/driver del 2010 v 4.30.28/XeroxLinuxi686xpxxInstall #
…I’m trying to execute in the /home/pla/bin folder, is it ok?
I downloaded again and the most recent version, it seems that this is the driver file and there is a second one that contains ppd files and another setup file that seems a readable script and instruction says:
This is the Printer Support Package for Xerox CentreWare Unix. Please install this after the base OS package.
To install this support package run setup as root. This will copy all
the ppds, bitmaps, databases and help files necessary to fully support
your Xerox printers.
Hi
Then something is borked on your system, I can run as my user or root…
./setup
<license agreeement>
Agree (y) / Disagree (n)? y
/usr/bin/lpq: Error - unknown destination "/tmp".
...............myuser is logged in
You must become root to run setup
.sh: /usr/Xerox/xpxx/xpqadmin: No such file or directory
sh: /usr/Xerox/xpxx/xpqadmin: No such file or directory
..
What shell environment are you using, when switching to root user use su - not su as this won’t change your environment variables to root user.
Those drivers are dated 2010, which was well before the effort to distribute as many various device drivers by way of the kernel instead of as either User mode or requiring the User to compile kernel modules… So, I highly question the validity of these drivers and instructions.
You should remove all you did and return your machine to its original condition (If installed on BTRFS, maybe do a rollback?), launch CUPS and see if your Xerox printer is supported out of the box without any special installation.
Also… IIRC i686 was a 64-bit architecture(IIRC primarily a Cyrix architecture, eventually acquired by AMD), i586 is 32-bit. I don’t remember the compatibility matrix, but this an additional factor that might mean this code won’t work.
it seems that using su - something works better, I had to cd to the directory where I lunched konsole from but seems better
the new error is this:
Agree (y) / Disagree (n)? y
/usr/bin/lpq: Error - unknown destination "/tmp/XeroxInstall".
..ERROR: No such file or directory
pla4-TW:/home/pla/bin/install/driver del 2010 v 4.30.28/XeroxLinuxi686xpxxInstall #
but /tmp/XeroxInstall is present
…many xerox printer seems supported from cups, but not phaser 7500
may be that xerox drivers are also installed and I have to install only the .ppd files??