OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: mathemajikian on November 27, 2013, 09:26:22 pm

Title: Openbsd 5.4
Post by: mathemajikian on November 27, 2013, 09:26:22 pm
SL-C3200 is still supported on OpenBSD. I'm currently running version 5.4 on my Zaurus with zero issues.
Title: Openbsd 5.4
Post by: ArchiMark on January 07, 2014, 01:50:00 am
Never used OpenBSD before....although I've read a bit about BSD in general....

How does it compare to other ROMs for Zaurus?

Also, are there many programs available to use with OpenBSD?

Do you recommend using it?

Thanks,

Mark
Title: Openbsd 5.4
Post by: koan on January 09, 2014, 04:24:11 pm
I'm planning to switch my C3200 to this, seeing as it's the only distribution available to Zaurus that is still updated. (The Angstrom main web site has been in temporary mode for a while now).
Title: Openbsd 5.4
Post by: mathemajikian on February 18, 2014, 07:58:22 pm
Quote from: ArchiMark
Never used OpenBSD before....although I've read a bit about BSD in general....

How does it compare to other ROMs for Zaurus?

Also, are there many programs available to use with OpenBSD?

Do you recommend using it?

Thanks,

Mark

Pretty much anything in the openbsd ports can be built on the Zaurus. But this may not be a good idea do to CPU speed limitations. However, there are tons of awesome console base programs that get the job done.
Title: Openbsd 5.4
Post by: ArchiMark on February 19, 2014, 05:52:16 pm
Quote from: mathemajikian
Quote from: ArchiMark
Never used OpenBSD before....although I've read a bit about BSD in general....

How does it compare to other ROMs for Zaurus?

Also, are there many programs available to use with OpenBSD?

Do you recommend using it?

Thanks,

Mark

Pretty much anything in the openbsd ports can be built on the Zaurus. But this may not be a good idea do to CPU speed limitations. However, there are tons of awesome console base programs that get the job done.


Thank you for your input.....sounds good, but understand issue of CPU limitations, etc....
Title: Openbsd 5.4
Post by: ArchiMark on February 20, 2014, 02:36:06 pm
Managed to install OpenBSD 5.5 on my C3200 now and it works!!!.....    

I have it running and using xterm...and ethernet card is working....

However, now have some questions please....

Installing Other Programs

Now, need to clear up how to install a window manager (any suggestions?) or desktop environment (xfce or lxde, etc...) and other programs to use such as nano, browser, etc...

Assume that these are packages that get installed, not ports?.....not clear as to what are ports vs packages....

Also, I just use ' pkg_add <programname> ' command to add a package?

Repository

Not clear as to what is good repository of packages (or ports if that's what I need...) that I can use on Zaurus?

Please note that I installed OpenBSD 5.5....from looking around now online, it looks like this is still beta version?.....is that OK?
Don't see packages in Packages directory for it? Do I use version 5.4 packages for now or ?

Thanks for your help with this!

Mark


UPDATE:  just tried typing a command that has the letter 'v' in it and don't know why but it won't type this letter!.....very odd and problematic to use C3200 now......hmmmmm..............

Got back into console and the 'v' key works....rebooted Zaurus and back into xterm and same thing, nothing happens when I type a 'v'.....Any suggestions how to fix this?
Title: Openbsd 5.4
Post by: TronDD on February 20, 2014, 08:51:30 pm
Quote from: ArchiMark
Installing Other Programs

Now, need to clear up how to install a window manager (any suggestions?) or desktop environment (xfce or lxde, etc...) and other programs to use such as nano, browser, etc...

Assume that these are packages that get installed, not ports?.....not clear as to what are ports vs packages....

Also, I just use ' pkg_add <programname> ' command to add a package?


UPDATE:  just tried typing a command that has the letter 'v' in it and don't know why but it won't type this letter!.....very odd and problematic to use C3200 now......hmmmmm..............

Got back into console and the 'v' key works....rebooted Zaurus and back into xterm and same thing, nothing happens when I type a 'v'.....Any suggestions how to fix this?

Ports = compile and install everything.  Download the 5.5 ports.tar.gz file.  Extact to /usr and it'll create a ports directory there.
Packages = install prebuilt binaries.  As far as I know, no one is building and providing packages for the Zaurus.

OpenBSD docs are pretty good: http://www.openbsd.org/faq/faq15.html#Ports (http://www.openbsd.org/faq/faq15.html#Ports)
As are the man pages.

Ah hah!  I thought the v key issue was me.  Apparently it's an xterm issue.  It's interpreting v as a paste command.  A work around is to find a v somewhere and select it.  I'm going to install a different terminal emulator to see if it's xterm only.

EDIT:  Common wisdom is to NOT mix OpenBSD versions.  Don't use 5.4 ports or packages on 5.5.  It's ok to run 5.5 if you want to be cutting edge, I used to always run newer version on my Z, but it was still maturing then.  Not sure what the benefit might be now, unless there is some cool new feature.
Title: Openbsd 5.4
Post by: ArchiMark on February 20, 2014, 09:47:56 pm
Quote from: TronDD
Quote from: ArchiMark
Installing Other Programs

Now, need to clear up how to install a window manager (any suggestions?) or desktop environment (xfce or lxde, etc...) and other programs to use such as nano, browser, etc...

Assume that these are packages that get installed, not ports?.....not clear as to what are ports vs packages....

Also, I just use ' pkg_add <programname> ' command to add a package?


UPDATE:  just tried typing a command that has the letter 'v' in it and don't know why but it won't type this letter!.....very odd and problematic to use C3200 now......hmmmmm..............

Got back into console and the 'v' key works....rebooted Zaurus and back into xterm and same thing, nothing happens when I type a 'v'.....Any suggestions how to fix this?

Ports = compile and install everything.  Download the 5.5 ports.tar.gz file.  Extact to /usr and it'll create a ports directory there.
Packages = install prebuilt binaries.  As far as I know, no one is building and providing packages for the Zaurus.

OpenBSD docs are pretty good: http://www.openbsd.org/faq/faq15.html#Ports (http://www.openbsd.org/faq/faq15.html#Ports)
As are the man pages.

Ah hah!  I thought the v key issue was me.  Apparently it's an xterm issue.  It's interpreting v as a paste command.  A work around is to find a v somewhere and select it.  I'm going to install a different terminal emulator to see if it's xterm only.

EDIT:  Common wisdom is to NOT mix OpenBSD versions.  Don't use 5.4 ports or packages on 5.5.  It's ok to run 5.5 if you want to be cutting edge, I used to always run newer version on my Z, but it was still maturing then.  Not sure what the benefit might be now, unless there is some cool new feature.

Understand about ports and packages now....just a bit different nomenclature than I'm used to.....and yes, docs are pretty good overall, been reading some this afternoon....

OK, will try to install ports file and attempt to build a package....have done that type of thing while using Debian and Arch in the past.....


Well, glad to hear that it's not my screwing up the OpenBSD install regarding the 'v' issue....although not glad to hear that it is a bug.....but good idea to try another terminal and see what happens....let me know how it goes....

Thanks!!!
Title: Openbsd 5.4
Post by: TronDD on February 21, 2014, 05:31:35 pm
Tips for building from ports:

Always read the pkg/DESC file (or files!) to learn about any flavors or sub packages.  You want to keep things small on the Z so don't built a full featured flavor if you know there are things you'll never use.  Like integration with some programming language you don't use or x11 support if you will only use it from the terminal.

I first build with 'make package' so it resolves all it's dependencies and makes all the packages.
Run 'make install' to install everything.
To keep disk usage down, thoroughly clean up.
make clean
make clean=depends
make clean=dist

There will also be a /usr/ports/packages directory where all the built packages go.  You can clean those up to free some space too.  Just make sure you're done with them first as rebuilding something could take days.  I usually leave them until I am pressed for disk space.

I'm waiting for another application to finish building, been a couple days but all the dependencies are done now.  Then I will build rxvt for a terminal to see if the v key works or not.

Tim.
Title: Openbsd 5.4
Post by: ArchiMark on February 21, 2014, 09:55:43 pm
Thank you for all the tips and input!....

Well, I successfully built my first application today on the 3200!.....only took about 4.5 hours I think.....

Built nano.....and it works.....

However, not having your input, I did it by using 'make install'.......didn't read the pkg/DESC file(s).....

So, you're saying to typically do both:

1.  run 'make package' and then

2. run 'make install'

Not just step 2 as I did.....

Are there instances where you would just do step 2, like I did?.....


As for clean up, I did a partial one so far....'make clean'....
Will do the rest...

Besides building another app or two, I want to see if I can get my Ambicom wifi card working....been using my Socket 10/100 ethernet card so far, which works great....


Thanks.

Mark
Title: Openbsd 5.4
Post by: TronDD on February 22, 2014, 01:20:23 pm
Yeah, you can just run make install directly.  I like to have the break in there so after days of compiling I can see what gets added when I run install.

By the way, I built rxvt to use in place of xterm and it does not have a problem with the v key.

Tim.
Title: Openbsd 5.4
Post by: ArchiMark on February 22, 2014, 04:43:36 pm
Started making rxvt last evening using your suggestion of first doing 'make package'....

After about 15 hours, it finished....however, what I see in terminal now is a lot of error 1 messages...    

Such as this one at the very end:

===> Exiting x11/dialog with an error
*** Error 1 in /usr/ports/x11 (/usr/ports/infrastructure/mk/bsd.port.subdir.mk:147 'package')


Just tried making roxterm, but same thing happened as with rxvt.....only good thing is that it finished in about a half hour...so, at least I did not have to wait a long time to get the bad news...

Any suggestions?

Thanks!

UPDATE

Don't know what happened, but I can now type the letter 'v' and it shows up on display......go figure.....  


UPDATE 2

Hmmm....rebooted and now, no letter 'v' again.......oh well.....

UPDATE 3

Just tried making rxvt again.....after about 1/2 hour, process stopped with message:

Code: [Select]
make: don't know how to make rxvt
Stop in /usr/ports/x11/rxvt

Any suggestions?
Title: Openbsd 5.4
Post by: TronDD on February 23, 2014, 03:21:23 pm
x11/dialog?  Don't know what that is.  Is that a port?

What's the first error?  The errors trickle backwards up the dependency tree.

For rxvt, you might try to make clean and make clean=dist just for rxvt so it starts rxvt over (and not all the dependencies).

Tim.
Title: Openbsd 5.4
Post by: ArchiMark on February 24, 2014, 09:31:44 am
Tried making another app.....was going OK after about 27 hours.....then I shut off my DSL modem and went to sleep....

Looked at 3200 this morning and saw this process had stopped.....but with Error 1 messages.....looked up at top of xterm window and saw message that it had tried to fetch a file from repo, but couldn't do it of course, since I'd turned off internet connection.....

Assume that only thing you can do is start over, right?....

Can see why some people make packages on another faster computer.....

Oh well......
Title: Openbsd 5.4
Post by: ArchiMark on February 24, 2014, 09:38:16 am
Quote from: TronDD
x11/dialog?  Don't know what that is.  Is that a port?

What's the first error?  The errors trickle backwards up the dependency tree.

For rxvt, you might try to make clean and make clean=dist just for rxvt so it starts rxvt over (and not all the dependencies).

Tim.

Since I just tried making another app, there's too much other text now to be able to scroll back up and see those errors now....at least I can't see a way to do it...

Good question about dialog......assume it is an input window....

OK, will try what you suggest about rxvt....although is there anyway to do make without needing to have a live internet connection all throughout the make process? In other words, have everything downloaded at the beginning of the process, then you don't need to worry about having internet connection working....

Have you tried making rxvt or any other app yet? So, we can tell if the letter 'v' issue is a xterm or global issue...

Thanks!
Title: Openbsd 5.4
Post by: TronDD on February 24, 2014, 08:08:52 pm
Look at post 11.  I built rxvt and it does not have the V problem.  I was also able to build it without issue.

If a port dies at some point, it doesn't start over when you run it again.  It checks, but will find it's place and start where it left off.  Yes, I've built a few things.  I am finding other broken ports, too, though.  Trying to work around cmake right now.

There might be a way to fetch everything at the start.  Not sure.  I don't think OBSD ports is as sophisticated as other ports systems (I used to run Gentoo linux which was very [almost overly] feature-filled).  You have to get it to descend into each dependency, and check those dependencies, and so on to fetch everything.

Tim.
Title: Openbsd 5.4
Post by: ArchiMark on February 24, 2014, 09:52:14 pm
Quote from: TronDD
Yeah, you can just run make install directly.  I like to have the break in there so after days of compiling I can see what gets added when I run install.

By the way, I built rxvt to use in place of xterm and it does not have a problem with the v key.

Tim.

Thanks for explaining about make.....

Glad to hear you got rxvt built and it types the v key!!

Will give it another try....

Mark
Title: Openbsd 5.4
Post by: ArchiMark on February 24, 2014, 09:56:43 pm
Quote from: TronDD
Look at post 11.  I built rxvt and it does not have the V problem.  I was also able to build it without issue.

Excellent news!  

Will try making rxvt again....


Quote
If a port dies at some point, it doesn't start over when you run it again.  It checks, but will find it's place and start where it left off.  Yes, I've built a few things.  I am finding other broken ports, too, though.  Trying to work around cmake right now.

Thanks for explaining.....

Have a feeling that cmake may have been one of the issues in trying to make the app 'taskwarrior'....a great little commandline task management app...see taskwarrior.org if you want see more about it....


Quote
There might be a way to fetch everything at the start.  Not sure.  I don't think OBSD ports is as sophisticated as other ports systems (I used to run Gentoo linux which was very [almost overly] feature-filled).  You have to get it to descend into each dependency, and check those dependencies, and so on to fetch everything.

Tim.

Would be great if it could fetch everthing needed at start...that way you'd know if everything is available and gets downloaded plus you don't have to have Zaurus connected to the internet for long periods of time while making package....

Thanks,

Mark
Title: Openbsd 5.4
Post by: ArchiMark on February 25, 2014, 12:43:26 pm
Tried making roxterm again.....

Went OK for a long time, but then I got error 1 messages again.....

Scrolled up to see what was going on....there's a bunch of messages like this one above the error 1 messages:

Code: [Select]
===> Checking files for gtk+-3.10.7
>> Fetch http://ftp.acc.umu.se/pub/GNOME/sources/gtk+/3.10/gtk+-3.10.7.tar.xz
ftp: no address associated with name: ftp.acc.umu.se

....same error messages, but with about 10 different repos....


Best way to deal with this kind of error?....

Thanks,

Mark
Title: Openbsd 5.4
Post by: TronDD on February 25, 2014, 07:49:50 pm
Hmm...that link works for me.  Looks like a DNS problem.  Had your internet on at the time?

You could find and manually download the file and put it into /usr/ports/distfiles.  The ports makefile will find it there.

It occurred to me, you should have installed 5.4 so we could share compiled packages and didn't have to duplicate effort (and time!).
Title: Openbsd 5.4
Post by: ArchiMark on February 25, 2014, 10:29:50 pm
Quote from: TronDD
Hmm...that link works for me.  Looks like a DNS problem.  Had your internet on at the time?

Yep, made sure of that this time....but for some unknown reason, I seem to have 'erratic quality' connection with my DSL service.....been thinking of changing to cable service....

Quote
You could find and manually download the file and put it into /usr/ports/distfiles.  The ports makefile will find it there.

Thanks for the tip.....

Quote
It occurred to me, you should have installed 5.4 so we could share compiled packages and didn't have to duplicate effort (and time!).

Ummm......you're right!!!.....didn't think about that.....OK, will install 5.4 tomorrow, how's that?......  
Title: Openbsd 5.4
Post by: TronDD on February 26, 2014, 06:08:52 pm
Quote from: ArchiMark
Ummm......you're right!!!.....didn't think about that.....OK, will install 5.4 tomorrow, how's that?......  

If you're willing to.  I'd upgrade to the 5.5 snapshot but there are no prebuilt arm packages we can try to use if necessary from what I have found.  The arm packages don't always work it seems, but it's a nice option to have.
Title: Openbsd 5.4
Post by: ArchiMark on February 26, 2014, 08:45:19 pm
Quote from: TronDD
Quote from: ArchiMark
Ummm......you're right!!!.....didn't think about that.....OK, will install 5.4 tomorrow, how's that?......  

If you're willing to.  I'd upgrade to the 5.5 snapshot but there are no prebuilt arm packages we can try to use if necessary from what I have found.  The arm packages don't always work it seems, but it's a nice option to have.

OpenBSD 5.4

No worries....installed 5.4 this morning....getting pretty good at installing now....


Nano

Just finished making nano again....works OK.....


Share Packages

So, how should we share packages? Is rxvt for example small enough to email it to me?

If so, I can PM you my email address....

Otherwise, best way to share is?....


List of Packages to Build

To avoid building the same packages, let's list what packages we've built or plan to build...like this:

Built: Nano

Plan to Build: taskwarrior, libreoffice (or other similar programs such as abiword, gnumeric, etc...), wget, dillo....


Thanks!

Mark
Title: Openbsd 5.4
Post by: TronDD on February 27, 2014, 08:56:50 pm
I'd have to check the sizes.  They are pretty small but you need all the dependencies, too.  The best thing would be a web site somewhere we could use as a package repo so OBSD can resolve the dependencies.

I don't have web space, though.  I guess we can just trade back and forth and each set up our own repo or just dump them into /usr/ports/packages on the Z.  Maybe a github site, if they allow that sort of thing.  If nothing else, looks like this forum allows up to 50M in attachment space...

I've specifically built:
wmii <- window manager
rxvt
dillo
git
vim no_x11
fldigi <- ham radio software, crashes on the Z
links+

Want to build:
xombrero or some other webkit based browser.
Something for IRC, irssi maybe.

Shoot me a PM, we'll figure out how to trade packages.
Title: Openbsd 5.4
Post by: teh.sean on April 25, 2014, 12:11:20 am
Quote from: mathemajikian
SL-C3200 is still supported on OpenBSD. I'm currently running version 5.4 on my Zaurus with zero issues.

What's your use case for the Z? Is it always on, chillin' on a desk? My experience so far has been a little different, but I suspect we're trying different things.
Title: Openbsd 5.4
Post by: teh.sean on April 25, 2014, 12:15:28 am
Quote from: ArchiMark
Plan to Build: taskwarrior, libreoffice (or other similar programs such as abiword, gnumeric, etc...), wget, dillo....

Woah, libreoffice will take FOREVER to build. I noticed in your sig you have two SLCs. If you wanted, you could probably have one on a laptop cooler just building packages all day and the other one in 'normal use'.
Title: Openbsd 5.4
Post by: ArchiMark on September 11, 2014, 12:51:37 pm
Quote from: teh.sean
Quote from: mathemajikian
SL-C3200 is still supported on OpenBSD. I'm currently running version 5.4 on my Zaurus with zero issues.

What's your use case for the Z? Is it always on, chillin' on a desk? My experience so far has been a little different, but I suspect we're trying different things.

Sorry for the belated reply.... but have not been receiving reply notification emails from OESF anymore....

As for case for the Z's....one came with a Targus pouch case with cover flap (velcro closure), hard to read the tag inside, but think it is model CHUS01. Fits the 3200 nicely....

I have PDAir clamshell leather case for the 3100 with small strap snap closure. Works great.

Generally, I don't leave Z's on unless I'm using them.....

Quote from: teh.sean
Quote from: ArchiMark
Plan to Build: taskwarrior, libreoffice (or other similar programs such as abiword, gnumeric, etc...), wget, dillo....

Woah, libreoffice will take FOREVER to build. I noticed in your sig you have two SLCs. If you wanted, you could probably have one on a laptop cooler just building packages all day and the other one in 'normal use'.

Yes, now that I've had some build experience, agree that libreoffice would be crazy to build on Z......

Thanks for the cooler tip!.....