Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...

TOPIC: Problem Compiling on MacOS

Problem Compiling on MacOS 3 weeks 3 days ago #20542

I am trying to build the latest kstars using the kstars-on-osx script and I am having an issue with "make fetch-translations". I am getting the error that no target found. I have the latest kstars-on-osx, kstars and indi from GitHub. Anyone have any ideas?

Thanks,
Eric

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 3 days ago #20547

For now you can remove lines 365 to 372 of CMakelists.txt and try to build.

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Problem Compiling on MacOS 3 weeks 3 days ago #20548

knro wrote: For now you can remove lines 365 to 372 of CMakelists.txt and try to build.


That didn't make any difference. I still get the error "No rule to make target 'fetch-translations'"

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 3 days ago #20549

you need to re-run cmake after you remove those lines. Clear build directory to be sure.

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Problem Compiling on MacOS 3 weeks 2 days ago #20550

knro wrote: you need to re-run cmake after you remove those lines. Clear build directory to be sure.


Yep, did all that. Where is the target 'fetch-translations' defined?

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 2 days ago #20552

are you building the emerge version or the cmake version? the cmake version should do that correctly. emerge doesn't seem to know how to build the translations yet. So I run cmake version first and then copy it.

One other warning. I am currently working on getting phonon, vlc, and sounds to build. You would have to build and install libvlc to /usr/local and make a couple of modifications to get it to work. Most of the changes should only affect the emerge version, so you should be ok to run the cmake version. But if there is an error copying or processing sound or vlc files, that is probably because they don't exist.

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 2 days ago #20554

rlancaste wrote: are you building the emerge version or the cmake version? the cmake version should do that correctly. emerge doesn't seem to know how to build the translations yet. So I run cmake version first and then copy it.

One other warning. I am currently working on getting phonon, vlc, and sounds to build. You would have to build and install libvlc to /usr/local and make a couple of modifications to get it to work. Most of the changes should only affect the emerge version, so you should be ok to run the cmake version. But if there is an error copying or processing sound or vlc files, that is probably because they don't exist.


I am compiling the cmake version. I am using the command ./build-kstars.sh -acid

Please Log in or Create an account to join the conversation.

Last Edit: by ColoradoSolar.

Problem Compiling on MacOS 3 weeks 2 days ago #20558

Then it should probably work. I haven't modified the cmake build to include vlc/phonon. The only steps that could cause problems are at the end if it tries to copy folders from vlc and when fix-libraries is run on it. did you try -aci instead of including d?

Is it failing on fetch-translations or later? fetch-translations is defined in the kstars git, so when you do a git pull, it should be downloaded and built using the make fetch-translations command.

I would recommend deleting the kstars-cmake directory and then running the script.

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 2 days ago #20577

rlancaste wrote: Then it should probably work. I haven't modified the cmake build to include vlc/phonon. The only steps that could cause problems are at the end if it tries to copy folders from vlc and when fix-libraries is run on it. did you try -aci instead of including d?

Is it failing on fetch-translations or later? fetch-translations is defined in the kstars git, so when you do a git pull, it should be downloaded and built using the make fetch-translations command.

I would recommend deleting the kstars-cmake directory and then running the script.


I killed off my kstars-crake directory and let the script get the code again and it still fails with the error "No rule to make target 'fetch-translations'"

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 2 days ago #20580

If you comment out the translations, does it finish everything else?

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 2 days ago #20585

rlancaste wrote: If you comment out the translations, does it finish everything else?


It ends up failing on "cp .../kstars-cmake/share//locale/*: No such file or directory"

Please Log in or Create an account to join the conversation.

Problem Compiling on MacOS 3 weeks 2 days ago #20586

Yes, that makes sense because the locale directory is the one that gets filled with the translations and if they were not built, it doesn't exist. So you would have to comment that out too.

Please Log in or Create an account to join the conversation.

Time to create page: 0.365 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica