Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   LINUX Users: Requesting beta testers (http://www.chiefdelphi.com/forums/showthread.php?t=31069)

jdong 03-11-2004 11:08

LINUX Users: Requesting beta testers
 
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 03-11-2004 11:31

Re: LINUX Users: Requesting beta testers
 
I wouldn't mind testing. Where/how do I sign up?

wun 03-11-2004 14:35

Re: LINUX Users: Requesting beta testers
 
I'm not on an RPM distro (gentoo), but I'de still be happy to test things and such.

jdong 03-11-2004 15:06

Re: LINUX Users: Requesting beta testers
 
http://sourceforge.net/project/showf...ease_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/?grou...89&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 03-11-2004 15:18

Re: LINUX Users: Requesting beta testers
 
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 03-11-2004 15:27

Re: LINUX Users: Requesting beta testers
 
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 03-11-2004 17:28

Re: LINUX Users: Requesting beta testers
 
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 04-11-2004 19:05

Re: LINUX Users: Requesting beta testers
 
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 07-11-2004 21:01

Re: LINUX Users: Requesting beta testers
 
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 07-11-2004 23:10

Re: LINUX Users: Requesting beta testers
 
Not sure if this helps but I compiled and ran the source on my gentoo machine and it worked fine. :)

ScottWolchok 15-01-2005 20:21

Re: LINUX Users: Requesting beta testers
 
I hate to dredge such an old thread up, but why isn't this in portage yet?

jdong 15-01-2005 21:01

Re: LINUX Users: Requesting beta testers
 
No real relevance to Gentoo; too small audience.

mikew 17-01-2005 11:33

Re: LINUX Users: Requesting beta testers
 
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 17-01-2005 13:05

Re: LINUX Users: Requesting beta testers
 
Quote:

Originally Posted by mikew
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 17-01-2005 17:07

Re: LINUX Users: Requesting beta testers
 
1 Attachment(s)
Quote:

Originally Posted by jdong
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..

CJO 17-01-2005 17:15

Re: LINUX Users: Requesting beta testers
 
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 17-01-2005 17:29

Re: LINUX Users: Requesting beta testers
 
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 17-01-2005 20:52

Re: LINUX Users: Requesting beta testers
 
Quote:

Originally Posted by ScottWolchok
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. :)

zero 18-01-2005 00:56

Re: LINUX Users: Requesting beta testers
 
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.

CJO 18-01-2005 00:57

Re: LINUX Users: Requesting beta testers
 
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 18-01-2005 01:56

Re: LINUX Users: Requesting beta testers
 
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 18-01-2005 06:55

Re: LINUX Users: Requesting beta testers
 
Quote:

Originally Posted by steven114
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 18-01-2005 11:46

Re: LINUX Users: Requesting beta testers
 
Very cool. Small world... :D

mikew 19-01-2005 00:50

Re: LINUX Users: Requesting beta testers
 
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 20-01-2005 22:36

Re: LINUX Users: Requesting beta testers
 
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 08-02-2005 20:50

Re: LINUX Users: Requesting beta testers
 
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 -
Quote:

make: *** .conf/CVS: Is a directory. Stop.
I'd fix it myself, but I don't know much about importing Makefiles.

steven114 08-02-2005 20:57

Re: LINUX Users: Requesting beta testers
 
Well, I fixed it myself by changing .deps/* to .deps/[^C]* and so on.

It's a hack, but it seems to work...

lynca 14-03-2005 20:19

Re: LINUX Users: Requesting beta testers
 
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 18-03-2005 20:28

Re: LINUX Users: Requesting beta testers
 
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 19-03-2005 19:34

Re: LINUX Users: Requesting beta testers
 
I'm on Debian so i have to use alien to convert it to an RPM. I'l post how it works.

Validius 19-03-2005 20:19

Re: LINUX Users: Requesting beta testers
 
Quote:

Originally Posted by Validius
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 19-03-2005 20:45

Re: LINUX Users: Requesting beta testers
 
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 19-03-2005 22:32

Re: LINUX Users: Requesting beta testers
 
Quote:

Originally Posted by jdong
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 20-03-2005 07:31

Re: LINUX Users: Requesting beta testers
 
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 20-03-2005 12:40

Re: LINUX Users: Requesting beta testers
 
Quote:

Originally Posted by jdong
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 20-03-2005 13:28

Re: LINUX Users: Requesting beta testers
 
libc? :D


All times are GMT -5. The time now is 22:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi