Click to See Complete Forum and Search --> : kstars on FreeBSD


bandwidth_pig
10-13-2003, 09:06 PM
Anybody take a shot at kstars on FreeBSD? I have it running on Debian and really like it (if your into astronomy, it's worth looking at!). Interestingly when I try to add it through package add:

pkg_add: could not find package imake-4.2.0 !
pkg_add: could not find package python-2.2_1 !
pkg_add: could not find package png-1.2.1 !
pkg_add: could not find package pkgconfig-0.11.0_1 !
pkg_add: could not find package pcre-3.7 !
pkg_add: could not find package libiconv-1.7_2 !
pkg_add: could not find package libxml2-2.4.19 !
pkg_add: could not find package libxslt-1.0.15 !
pkg_add: could not find package lcms-1.08 !
pkg_add: could not find package freetype2-2.0.9 !
pkg_add: could not find package libmng-1.0.3 !
pkg_add: could not find package XFree86-libraries-4.2.0_1 !
pkg_add: could not find package fam-2.6.4 !
pkg_add: could not find package cups-base-1.1.14 !
pkg_add: could not find package qt-2.3.1_1 !
pkg_add: could not find package kdelibs-2.2.2_3 !


Well, I haven't checked every one of these files, but those I checked I have. I just have a newer version. I find myself using the ports more than the packages, so my pkg_add is a bit rusty. But regardless, I found the source off the kstars homepage and had no luck either:

modcalcazel.h:23: modcalcazeldlg.h: No such file or directory
*** Error code 1

I have no idea what this header file is or what it is included in. Anybody got this to work on FreeBSD? Interestingly also, when I do a:

pkg_info imake

I get nothing.

whereis imake

BSD# whereis imake
imake: /usr/X11R6/bin/imake /usr/X11R6/man/man1/imake.1.gz /usr/ports/devel/imake


Why is that?

bandwidth_pig
10-13-2003, 09:07 PM
Ahh. Perhaps pkg_info comes back with zero info because it was installed as a port and not a package.

xulfralos
10-14-2003, 02:54 AM
Did you do 'pkg_add -r'? Just checking.

bandwidth_pig
10-14-2003, 07:09 PM
Yes I did. I tried that, and then I tried without. It's a real nice bit of software. Hope I can get it to run.

Alex Cavnar, aka alc6379
10-14-2003, 10:00 PM
Did you try doing it through ports?

Ports will automatically download and build the dependancies for a package. I've used pkg_add -r before when I'm in a hurry, but I found that it didn't pull down dependancies.

I'd try it through ports myself. That way, it will download and build all of those required packages, too.

bandwidth_pig
10-15-2003, 08:21 PM
Hi Alex. Thanks for the reply. For some reason, it is not listed among my ports. I just updated it not very long ago. Is it in yours? Thanks again.

bandwidth_pig
10-15-2003, 11:52 PM
Hmmm. I just toasted my INDEX file for my ports. I did a cvs-up, but once done my INDEX file is gone?

Alex Cavnar, aka alc6379
10-16-2003, 12:35 AM
What version of ports are you using? The default that came with your distro? A more updated one?

I've found that you can just untar a new ports directory. If you can find a tarball package for it with pkg_add -r, then there should be a ports directory for it. You can pull down a new ports tree from FreeBSD's FTP servers, or any mirror of it. It should be in the -CURRENT area, I'd bet, for the most recent one.

After you've gotten a new ports tree, you should just be able to cd into /usr/ports and run

make search key=kstars

and it should tell you where to find the build skeleton for kstars.

bandwidth_pig
10-16-2003, 06:45 AM
Well, I was using a upgraded one. But usually I grep the INDEX file in /usr/ports to search for a new port. I'm curious as to why the INDEX file is gone now that I have updated my ports. Last time I did that, I had one.

xulfralos
10-21-2003, 06:36 PM
Originally posted by Alex Cavnar, aka alc6379
I've used pkg_add -r before when I'm in a hurry, but I found that it didn't pull down dependancies.'pkg_add -r' gets dependencies for me... *Shrug*

bandwidth_pig
10-22-2003, 10:10 PM
pkg_add -r works for me as well in regards to dependencies. Problem is kstars isn't listed as an available package currently. I think it was previously, but I suspect support for kstars is fading away. Oh well. I still can run it on Debian :D