The .deb file won't install on my 64-bit system (ubuntu feisty):

dpkg: error processing nqc_3.1.r6-1_i386.deb (--install):
package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
nqc_3.1.r6-1_i386.deb

On my 32-bit system (ubuntu edgy), dpkg complained that a bunch of my libraries weren't high enough versions:

[EMAIL PROTECTED]:~$ sudo dpkg -i nqc_3.1.r6-1_i386.deb
(Reading database ... 168086 files and directories currently installed.)
Preparing to replace nqc 3.1.r6-1 (using nqc_3.1.r6-1_i386.deb) ...
Unpacking replacement nqc ...
dpkg: dependency problems prevent configuration of nqc:
nqc depends on libc6 (>= 2.5-5); however:
 Version of libc6 on system is 2.4-1ubuntu12.3.
nqc depends on libgcc1 (>= 1:4.2-20070516); however:
 Version of libgcc1 on system is 1:4.1.1-13ubuntu5.
nqc depends on libstdc++6 (>= 4.2-20070516); however:
 Version of libstdc++6 on system is 4.1.1-13ubuntu5.
dpkg: error processing nqc (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nqc

I installed it anyways with:
sudo dpkg -i nqc_3.1.r6-1_i386.deb -ignore-depends=libc6 -ignore-depends=libgc1 -ignore-depends=libstdc++6

It runs fine as far as I can tell, but to get the usb tower to work I had add the following symbolic link:
ls -l /dev/usb
total 0
lrwxrwxrwx 1 root root 16 2007-06-15 00:48 legousbtower0 -> ../legousbtower0

Is that a Debian vs Ubuntu issue?

Other than that issue, I was able to compile, download firmware, and download apps to my RCX with the USB tower.

Ben Pfaff wrote:
Michael Wales <[EMAIL PROTECTED]> writes:

There are 2 bugs in Debian for nqc that I think have a possible resolution:
#108504: LEGO USB Tower Support
#287812: nqc: FTBFS (64-bit architectures): cast from 'const char*' to
'int' loses precision

Thanks!

I couldn't figure out how to directly update the debian bug report,
but I updated the bug report in launchpad.

You can add to Debian bug reports by sending email to
<bugr>@bugs.debian.org, e.g. [EMAIL PROTECTED] for the first
bug above.  I'm adding these bug reports to the CC.

I put an updated package including your patch (only the Makefile
patch was not already in the Debian package) in the directory
here:
        http://footstool.stanford.edu/~blp/
Can you test it?  I do not have LEGO USB hardware or actually any
LEGO MindStorms hardware anymore, so I cannot test it myself.  If
it works for you, then I will upload it to Debian.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to