View Full Version : LINUX Users: Requesting beta testers
jdong
11-03-2004, 10:08 AM
Hey, I need some users of RPM distros to test releases of the IFI Picloader. I'm planning to release some X / GTK+ graphical versions of the picloader, too, so I'll definitely need people making sure that they work!
Nick Fury
11-03-2004, 10:31 AM
I wouldn't mind testing. Where/how do I sign up?
I'm not on an RPM distro (gentoo), but I'de still be happy to test things and such.
jdong
11-03-2004, 02:06 PM
http://sourceforge.net/project/showfiles.php?group_id=98989&package_id=106064&release_id=279618
RPM distro users, I need feedback on the .rpm linked above. Does it work? It should install picloader and picreader in /usr/bin. File bug reports at http://sourceforge.net/tracker/?group_id=98989&atid=622745
wun, if you can patch the Gentoo ebuild, that'll be great. I'm very short on time here; iIt'll need the patch removed, new digests. If you can tar up the portage overlay and post it on http://sourceforge.net/projects/adambots-live in the "Patches" tracker, that'd be great!
jdong
11-03-2004, 02:18 PM
Also, I'd like your opinions. I want to release RPMs/Debs for mcc. There are a number of ways I could do this:
(1) Package them, then host them on Sourceforge with a licensing disclaimer (though C-Bot's license agreement is non-existant)
(2) Write scripts that'll take a Windows pre-installed mcc18 tree and package them, on users' PC's.
(3) Write scripts that can take the C-Bot executable and repackage it. This is most certainly the most complicated approach for me...
(4) (3), but with the extra merit
So which will it be?
(1) has some licensing issues, but no concrete, black-and-white issues that I can see.
(2) Is simple to do -- it is fast for me to write, but it requires users to have a copy of Mcc18 and Windows installed, which is not always a pretty assumption. Plus, it now has to go finding and mounting Windows partitions, which users often will not feel comfortable with!
(3) Is complicated for me to do. the EXE is a sfx zip, so it's pretty easy to unpack. However, it has no directory structure, and all the filenames are in caps.
(4) is the hardest... I need to figure out what this "demo stamp" is that the trial EXE looks for.
(2-4) would install like how Macromedia Flash and ms TT core fonts do under Linux: The package is virtually empty, and it fetches the contents on-the-fly.
Matt Krass
11-03-2004, 02:27 PM
I'm up for beta-testing ebuilds here on my Gentoo box, I'm sure some of my team mates can help you test debian packages if you have any.
PM me here, or email me at mattkrass AT gmail DOT com.
Joe Ross
11-03-2004, 04:28 PM
I randomly have Suse 9.0 or Fedora Core 2 installed for testing RPM installations of my own stuff. I can test your stuff as I get a chance.
pi_guy578
11-04-2004, 06:05 PM
Great job. The RPM installed flawlessly on my SuSE 9.1 installation. I have not had a chance to test its functionality because I don't have a controller to test it on. I did discover it waits indefinitley if a controller isn't connected (or until Ctrl+C is pressed)
jdong
11-07-2004, 08:01 PM
Ok, thx for the feedback.
I released 0.4.97 (0.5 beta 1). No new code; just the output was changed to be friendlier to upcoming frontends (First display total # commands to issue, then display the command number. Good for progress bars).
No reason to upgrade, really.
Also, I imported everything to CVS.
http://cvs.sourceforge.net/viewcvs.py/ifi-picloader/
dragonpaulz
11-07-2004, 10:10 PM
Not sure if this helps but I compiled and ran the source on my gentoo machine and it worked fine. :)
ScottWolchok
01-15-2005, 07:21 PM
I hate to dredge such an old thread up, but why isn't this in portage yet?
jdong
01-15-2005, 08:01 PM
No real relevance to Gentoo; too small audience.
mikew
01-17-2005, 10:33 AM
Looks like you guys took the robot code makefile out of the tarball.
Oh, and the new MCC18 compiler installs through WINE without any trouble at all. I suspect a native msvcrt is still required to actually run the compiler, but installation doesn't require it.
I'll post a makefile for this year's default code ASAP..
jdong
01-17-2005, 12:05 PM
Looks like you guys took the robot code makefile out of the tarball.
Oh, and the new MCC18 compiler installs through WINE without any trouble at all. I suspect a native msvcrt is still required to actually run the compiler, but installation doesn't require it.
I'll post a makefile for this year's default code ASAP..
1. Yep. I'm releasing that separately. I have the latest FRC2005 makefile with my FRC Subversion repository:https://jdong.homelinux.net/first/trunk/Makefile
2. Yes, it does. And if you symlink it properly (symlink $x.exe to $x), you'd NEVER need native MSVCRT.
mikew
01-17-2005, 04:07 PM
2. Yes, it does. And if you symlink it properly (symlink $x.exe to $x), you'd NEVER need native MSVCRT.
I've made a fix to the built-in msvcrt, but unfortunately, my WINE installation is b0rken right now, so I can't test it. If you don't mind, can you apply the attached patch and see if this works? This makes it do a proper search for executables so the symlinks shouldn't be necessary. If it works, I'll push it upstream. This patch is diffed against cvs, but it should work on the last release, I'd imagine..
For someone who has just come across the linux/FIRST/IFI stuff, could someone give me an overview of all of the programs/patches/etc out there for FIRST and linux. Also, I assume that you do not use MPLAB, instead writing in your favourite linux application and then using C18 to compile?? At any rate, I would like to lose windows this year so, a brief runthrough?
mikew
01-17-2005, 04:29 PM
You need 4 things:
WINE - http://www.winehq.org/ - This is needed to run the mcc18 compiler. Try to get it to run solitaire before trying MCC18.
MCC18 compiler - A link to d/l this can be found on the FIRST website.
IFI-Picloader - http://sourceforge.net/projects/ifi-picloader/ - Not to be confused with IFI's loader, this allows you to use linux to upload the code compiled by MCC18.
Makefile - Grab the makefile that was linked to earlier in this thread. Edit it to taste. This is needed to automatically compile and link everything together.
djcapelis
01-17-2005, 07:52 PM
I hate to dredge such an old thread up, but why isn't this in portage yet?
Probably because no one has submitted it. Post it on the bug tracker and assign it to someone, you'll need to probably become it's maintainer, but someone needs to do it. :)
Ive been waiting for this for a long time. I didnt like the idea of wipeing gentoo of my laptop for windows :( Now all i got to do is convince my team to trust linux.
Ok,
I tried the .rpm, and it says:
error: Failed dependencies
root@slax:/mnt/disc0part1# rpm -ivh ifi-pictools.rpm
error: Failed dependencies:
ld-linux.so.2 is needed by ifi-pictools-0.4.97-2
libc.so.6 is needed by ifi-pictools-0.4.97-2
libdl.so.2 is needed by ifi-pictools-0.4.97-2
libgcc_s.so.1 is needed by ifi-pictools-0.4.97-2
libm.so.6 is needed by ifi-pictools-0.4.97-2
libstdc++.so.5 is needed by ifi-pictools-0.4.97-2
libc.so.6(GLIBC_2.0) is needed by ifi-pictools-0.4.97-2
libc.so.6(GLIBC_2.1.3) is needed by ifi-pictools-0.4.97-2
libgcc_s.so.1(GCC_3.0) is needed by ifi-pictools-0.4.97-2
libstdc++.so.5(GLIBCPP_3.2) is needed by ifi-pictools-0.4.97-2
What all packages are required for the ifi-picloader
By the way, wine worked for me for C18, but it took three tries.
steven114
01-18-2005, 12:56 AM
I'd just like to thank you for creating this project - I personally like being able to finally use Linux for programming my robot. The makefiles especially make using wine with mcc bearable. By the way, might I know you (jdong) from elsewhere? Specifically, from NYLF? It seems like an interesting coincidence... :p
jdong
01-18-2005, 05:55 AM
I'd just like to thank you for creating this project - I personally like being able to finally use Linux for programming my robot. The makefiles especially make using wine with mcc bearable. By the way, might I know you (jdong) from elsewhere? Specifically, from NYLF? It seems like an interesting coincidence... :p
Yep, NYLF labs :)
steven114
01-18-2005, 10:46 AM
Very cool. Small world... :D
mikew
01-18-2005, 11:50 PM
I've confirmed that the patch to wine completely eliminates the need to symlink or use the native msvcrt, on my system at least. I'll be submitting it upstream soon. The next release of wine will work with mcc18 out of the box should the patch be accepted..
steven114
01-20-2005, 09:36 PM
This isn't exactly what you were asking for beta testing for, but I downloaded the EDU code and copied in the Makefile. It compiled successfully, but after downloading it nothing will happen except a red flashing PROGRAM STATE. I can download EDU_default.hex and it will go back to working, but anything compiled here crashes immediately. What would be helpful for debugging this? The .o/.hex files, or what?
steven114
02-08-2005, 07:50 PM
One problem with the makefile and CVS - you have a line import .conf/* to grab a bunch of stuff from inside of the directory. CVS likes to have a directory inside of all the subdirectories which wreaks havoc -
make: *** .conf/CVS: Is a directory. Stop.
I'd fix it myself, but I don't know much about importing Makefiles.
steven114
02-08-2005, 07:57 PM
Well, I fixed it myself by changing .deps/* to .deps/[^C]* and so on.
It's a hack, but it seems to work...
lynca
03-14-2005, 07:19 PM
Hopefully we can get the source, ebuild and rpm package into a white paper so people can understand a simple way to get started.
jdong
03-18-2005, 07:28 PM
Yeah, Steve, it's a hack :)
If you think about it, the whole Makefile was a hack from the beginning.
I'm working on a more intelligent, Python-based ./configure script that generates intelligent Makefiles.
Between radio failures and dying programming laptops, I think it's not gonna get done until summer starts.
Validius
03-19-2005, 06:34 PM
I'm on Debian so i have to use alien to convert it to an RPM. I'l post how it works.
Validius
03-19-2005, 07:19 PM
I'm on Debian so i have to use alien to convert it to an RPM. I'l post how it works.
I take that back, i will test your .deb file. I hate alien. (unless you used alien to make the deb file in which case i would go with the tgz :-D)
jdong
03-19-2005, 07:45 PM
The RPM's I've released were all alien'ed over. Picloader uses nothing more than libc, so I highly doubt we'd run into cross-compat problems.
Validius
03-19-2005, 09:32 PM
The RPM's I've released were all alien'ed over. Picloader uses nothing more than libc, so I highly doubt we'd run into cross-compat problems.
i am not on my laptop so i havent tried yet but the only think that could cause trouble is if they attempt to copy in a file that interferes with another package.
jdong
03-20-2005, 06:31 AM
Well, there's basically only two binaries that it installs (/usr/bin/picloader /usr/bin/picreader)
So I don't think there'd be any conflicts.
Can someone confirm if this runs under Cygwin?
Validius
03-20-2005, 11:40 AM
Well, there's basically only two binaries that it installs (/usr/bin/picloader /usr/bin/picreader)
So I don't think there'd be any conflicts.
Can someone confirm if this runs under Cygwin?
Any noteable dependancies?
steven114
03-20-2005, 12:28 PM
libc? :D
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.