Bug#287812: nqc bugs in debian

2007-06-21 Thread Ben Pfaff
Michael Wales <[EMAIL PROTECTED]> writes:

> 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?

I think that it's a udev vs. no-udev issue.  The udev rules I see
here show that the legousbtower0 device should be created in
/dev/usb.  If you're not using udev, and you created the device
by hand, perhaps it's in /dev instead of /dev/usb.
-- 
Ben Pfaff 
http://benpfaff.org


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



Bug#287812: nqc bugs in debian

2007-06-14 Thread Ben Pfaff
Thank you very much for trying out the package.

Michael Wales <[EMAIL PROTECTED]> writes:

> 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?

I'm not sure.  I will investigate before I upload the package.

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

Glad to hear it.
-- 
Ben Pfaff 
http://benpfaff.org


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



Bug#287812: nqc bugs in debian

2007-06-14 Thread Michael Wales

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
@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]



Bug#287812: nqc bugs in debian

2007-06-13 Thread Ben Pfaff
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
@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.
-- 
"Let others praise ancient times; I am glad I was born in these."
--Ovid (43 BC-18 AD)


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