×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Client on Windows, server on Linux?

  • Posts: 41
  • Thank you received: 7
Hi Oleg,
on Linux just extract with tar
$tar -xzf PCL-02.00.13.0689-20141030.tar.gz
and adapt the PCL* environment variables to the directory where you have extracted the archive. That's it.

When you have compiled the INDI module, you have to trigger the installation of the INDI module from PixInsight with -> PROCESS->MODULE->Install Modules ...

Klaus
The following user(s) said Thank You: Oleg
8 years 10 months ago #4375

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

  • Posts: 314
  • Thank you received: 95
Hmm... But the PCL-02.00.13.0689-20141030.tar.gz doesn't contain any binaries: ~/PCL/bin/ folder is empty.
You can try my open project Astronomy Linux
8 years 10 months ago #4376

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

  • Posts: 41
  • Thank you received: 7
Hi Oleg,
to compile a PixInsight module or plugin you have to statically link against the libPCL-pxi.a library which is in the PCL/lib directory. The compiled PixInsight module, which is technically a shared library, is copied into the PCL/bin directory by the makefile. You can also check the run_build.sh
script on the github repo, this is used to trigger a linux/osx build on travis build server.
Klaus
The following user(s) said Thank You: Oleg
8 years 10 months ago #4378

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

  • Posts: 314
  • Thank you received: 95
Klaus, I can't resolve this problem.
You can try my open project Astronomy Linux
8 years 10 months ago #4379

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

  • Posts: 41
  • Thank you received: 7
OK, what is exactly the problem.?Do you still get the message from the makefile generator ? When you added the PCL env varibales do not forget to start a new shell (terminal) and start PixInsight from that terminal, so that it runs in an environment where these variables are set. To be sure check your environment, e.g. with

$env | grep PCL (bash shell)...
$PixInsight &
-> start PixInsight from the terminal

The build frameworkis a bit complicated since makefile have to be kept in synch on the three platforms ...
Last edit: 8 years 10 months ago by Klaus Kretzschmar.
8 years 10 months ago #4380

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

  • Posts: 314
  • Thank you received: 95
So, I run the PixInsight from terminal and open the PixInsight Makefile Generator script with the following settings:
You can try my open project Astronomy Linux
8 years 10 months ago #4381
Attachments:

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

  • Posts: 314
  • Thank you received: 95
What is my next step for Linux computer?

PixInsight reports:
==> Generating makefile:
/home/oleh/PixInsightINDIclient/linux/g++/makefile-x64
* Directory created: /home/oleh/PixInsightINDIclient/linux/g++/x64/Release/module
* Directory created: /home/oleh/PixInsightINDIclient/linux/g++/x64/Release/test
* Directory created: /home/oleh/PixInsightINDIclient/linux/g++/x64/Release/test/fakes

==> Generating makefile:
/home/oleh/PixInsightINDIclient/linux/g++/Makefile
You can try my open project Astronomy Linux
Last edit: 8 years 10 months ago by Oleg.
8 years 10 months ago #4382

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

  • Posts: 314
  • Thank you received: 95
Now, I open the terminal and run two commands:
cd /home/oleh/PixInsightINDIclient/linux/g++
make

So, I got many files in directory /home/oleh/PixInsightINDIclient/linux/g++/x64/Release/module
You can try my open project Astronomy Linux
Last edit: 8 years 10 months ago by Oleg.
8 years 10 months ago #4383

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

  • Posts: 41
  • Thank you received: 7
OK, then do the following:
cd module/linux/g++/ && mkdir -p x64/Release && make -f makefile-x64
8 years 10 months ago #4384

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

  • Posts: 314
  • Thank you received: 95
I got the error: make: *** ["/home/oleh/PCL//module/linux/g++/x64/Release"/PixInsightINDIclient-pxm.so] Error 1
See attached file.
You can try my open project Astronomy Linux
Last edit: 8 years 10 months ago by Oleg.
8 years 10 months ago #4385
Attachments:

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

  • Posts: 41
  • Thank you received: 7
Ah, seems that there is something missing in the makefile generation script. You can fix this by creating the directory "/home/oleh/PCL//module/linux/g++/x64/Release" by hand ... so make sure that the directory /home/oleh/PCL//module/linux/g++/x64/Release exists
8 years 10 months ago #4386

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

  • Posts: 314
  • Thank you received: 95
My head likes a big pumpkin :(
1. I create the new directory in PCL: /home/oleh/PCL/module/linux/g++/x64/Release
2. I open the terminal and run two commands:
cd /home/oleh/PixInsightINDIclient/linux/g++
make
3. then I run this comand:
mkdir -p x64/Release
and got new directory /home/oleh/PixInsightINDIclient/module/linux/g++/x64/Release
4. then I run this command:
make -f makefile-x64
and got error: "make: *** ["/home/oleh/PCL//module/linux/g++/x64/Release"/PixInsightINDIclient-pxm.so] Error 1"
You can try my open project Astronomy Linux
Last edit: 8 years 10 months ago by Oleg.
8 years 10 months ago #4387

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

Time to create page: 0.757 seconds