Author Topic: PCBSD install problems  (Read 5050 times)

Offline griz11

  • Newcomer
  • Posts: 8
PCBSD install problems
« on: 2014 December 12 09:29:20 »
Not a pleasant experience trying to install PI on PCBSD. Missing libraries and now I'm finding the updates don't work. Some kind of permission problem although I can't find out what is causing it. The updater2 program will not run and stops the upgrade process. Another thing is the composting window manager. What is recommended for this? Can't find any info on that either. And this lib libicu18n.so is in /usr/local/lib but PI says it can't find it. I would think a README with these problems and solutions is a minimum. I'm a retired Unix admin and it was a pain for me to get it partially installed. What I need to know is how to get the updates working and also what to do about the library it complains about not finding. I suspect the lib problem is a version problem. But no documentation on what version will work. Maybe a script to check all this out and get the required files before the actual install. Not impressed with the current install procedure. And how can I install those upgrades by hand until this is fixed.

Griz

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PCBSD install problems
« Reply #1 on: 2014 December 12 11:35:36 »
Hi Griz,

Setting up a working X11 server with a graphical desktop on a vanilla FreeBSD distribution is not a trivial task by any means. Please note that such task is not our responsibility. PixInsight assumes a working graphical desktop environment on all supported platforms.

For this reason we recommend a pre-packaged distribution such as PC-BSD. See also our System Requirements page, where we recommend PC-BSD 10. As for desktop environments, we recommend KDE 4 and GNOME 3.

Installation of PixInsight on PC-BSD 10 runs out-of-the-box without any problems, just as easy as on Linux, Windows or OS X.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline griz11

  • Newcomer
  • Posts: 8
Re: PCBSD install problems
« Reply #2 on: 2014 December 12 21:12:49 »
I got all that working but it still won't update. Downloads the updates but when you restart to apply the updates it says updater2 doesn't have proper permissions to run. Checked all that don't see anything wrong with it so what up with that?

Griz

Offline EckyH

  • Newcomer
  • Posts: 5
Re: PCBSD install problems
« Reply #3 on: 2015 January 31 15:34:59 »
Hello,

recently I switched from Mac OS X 10.10 to PCBSD-10 (10.1.1RC2) with KDE desktop.
PixInsight Version is:
Quote
PixInsight Core 01.08.03.1123 Ripley (x64)

After configuring "Compositing type" to XRender and "Qt graphics system" to Native (PC-BSD Control Panel -> Desktop environment -> Desktop Effects - KDE Control Module -> Advanced), the "No compositing window manager" in PixInsight disappeared.

Package icu-53.1 is installed.
Starting PI:
Quote
Unable to load library icui18n "Cannot load library icui18n: (Shared object "icui18n" not found, required by "PixInsight")"
Yesterday I got a hint that PI wants to have libicui18n.so.52 (please don't ask from which ldd or similar command I got that - unfortunately I forgot it  ::) ), so I put the following line into /etc/libmap.conf:
Quote
libicui18n.so.52 libicui18n.so.53
That changed the PI starting output to:
Quote
Unable to find symbols in icui18n

PI is installed as root with predefined parameters, so it resides under /opt/PixInsight.
When I try to install the updates within PI, after the restart of PI the following message appears:
Quote
Unable to install updates: Can't execute the PixInsight Updater (stage 2) application.
After doing some research including the use of truss, it seems the execution of /tmp/PixInsight64-update/updater2/updater2 with the permissions of the user fails:
Quote
47685: execve("/tmp/PixInsight64-update/updater2/updater2", [ "/tmp/PixInsight64-update/updater2/updater2", "47681", "/opt/PixInsight", "/tmp/PixInsight64-update/
contents", "--restart" ], [ "mad=ImageWindow.activeWindow.currentView.image.MAD()", "avgdev=ImageWindow.activeWindow.currentView.image.avgDev()", "stddev=ImageWindow.acti
veWindow.currentView.image.stdDev()", "median=ImageWindow.activeWindow.currentView.image.median()", "mean=ImageWindow.activeWindow.currentView.image.mean()", "max=ImageWi
ndow.activeWindow.currentView.image.maximum()", "min=ImageWindow.activeWindow.currentView.image.minimum()", "PXI_CABUNDLEFILE=/opt/PixInsight/library/ca-bundle.crt", "PXI
_DOCDIR=/opt/PixInsight/doc", "PXI_LIBDIR=/opt/PixInsight/lib", "PXI_SRCDIR=/opt/PixInsight/src", "PXI_INCDIR=/opt/PixInsight/include", "PXI_RSCDIR=/opt/PixInsight/rsc",
"PXI_ETCDIR=/opt/PixInsight/etc", "PXI_BINDIR=/opt/PixInsight/bin", "PXI_APPDIR=", "PXI_BASEDIR=/opt/PixInsight", "PXI_COREDIR=/opt/PixInsight/bin", "PXI_COREFILE=/opt/Pi
xInsight/bin/PixInsight", "XTERM_SHELL=/bin/csh", "TERMCAP=xterm|X11 terminal emulator:@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS
:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:am:bs:km:mi:ms:ut:xn:AX:Co#8:co#80:kn#12:l
i#24:pa#64:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i
%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:kD=\E[3~:ke=\E[?1l\E>:ks=\E[?1h\E=:kB=\E[Z:le=^H:md=\E[1m:me=\E[m:ml=\El
:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25
l:vs=\E[?12;25h:kb=\010:", "LOGNAME=ecky", "XTERM_LOCALE=en_US.UTF-8", "XTERM_VERSION=XTerm(314)", "DISPLAY=:0", "WINDOWID=77594638", "TERM=xterm", "GTK2_RC_FILES=/etc/gt
k-2.0/gtkrc:/usr/home/ecky/.gtkrc-2.0:/usr/home/ecky/.kde4/share/config/gtkrc-2.0", "GTK_RC_FILES=/etc/gtk/gtkrc:/usr/home/ecky/.gtkrc:/usr/home/ecky/.kde4/share/config/g
tkrc", "SESSION_MANAGER=local/Deadman:/tmp/.ICE-unix/1570", "KDE_MULTIHEAD=false", "KDE_SESSION_VERSION=4", "GS_LIB=/usr/home/ecky/.fonts", "LANG=en_US.UTF-8", "XDG_DATA_
DIRS=/usr/local/share:/share:/usr/share:/usr/local/share:/usr/share:/usr/local/share:/usr/local/share/gnome", "XAUTHORITY=/tmp/.PCDMAuth-a1d3448930d29b5293bc", "MAIL=/var
/mail/ecky", "PATH=/usr/local/share/pcbsd/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/home/ecky/bin", "QT_PLUGIN_PATH=/usr/home/ecky/
.kde4/lib/kde4/plugins/:/usr/local/lib/kde4/plugins/", "KDE_SESSION_UID=1001", "PWD=/opt/PixInsight/bin", "XDG_CURRENT_DESKTOP=KDE", "GROUP=ecky", "DBUS_SESSION_BUS_ADDRE
SS=unix:path=/tmp/dbus-8WUlOAcdzH,guid=4b776dfa7d55d6eef990bf6554ccd8db", "XCURSOR_THEME=Jimmac", "PCDM_SESSION=KDE", "HOME=/usr/home/ecky", "USER=ecky", "WINDOWPATH=9",
"SHELL=/bin/csh", "USERNAME=ecky", "LC_ALL=en_US.UTF-8", "KDE_FULL_SESSION=true", "XDG_CONFIG_DIRS=/usr/local/etc/xdg:/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4
", "MOZ_DISABLE_IMAGE_OPTIMIZE=1", "RC_PID=21", "SHLVL=2", "QT_IM_MODULE=compose", "HOSTTYPE=FreeBSD", "VENDOR=amd", "OSTYPE=FreeBSD", "MACHTYPE=x86_64", "HOST=Deadman",
"EDITOR=vi", "PAGER=more", "BLOCKSIZE=K", "CLICOLOR=true", "MORE=-erX", "MANPATH=/usr/share/man:/usr/local/man:/usr/share/openssl/man:/usr/local/lib/perl5/site_perl/man:/
usr/local/lib/perl5/5.18/perl/man", "LD_LIBRARY_PATH=/opt/PixInsight/bin/lib:/opt/PixInsight/bin" ]) ERR#13 'Permission denied'

# ls -l /tmp/PixInsight64-update/updater2/updater2
-rwxr-xr-x  1 ecky  wheel  1829497 Feb  1 00:15 /tmp/PixInsight64-update/updater2/updater2

Any help appreciated.

Many thanks,

E.
Ecky

It wasn't me!

Offline EckyH

  • Newcomer
  • Posts: 5
Re: PCBSD install problems
« Reply #4 on: 2015 February 01 02:29:59 »
Hello,

tried to update with a copy of PI in /opt/PixInsight, which completely belongs to the (uid !=0) user who runs PI, but the "Can't execute the PixInsight Updater (stage 2) application." message still appears.

E.
Ecky

It wasn't me!

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PCBSD install problems
« Reply #5 on: 2015 February 03 07:03:28 »
Hello,

Quote
PCBSD-10 (10.1.1RC2)

Please don't try to use PixInsight with a release candidate version of PC-BSD. These versions are released for testing of new system features only, but they must not be used for normal production applications. Given the complexity of PC-BSD, release candidate versions of this distribution can be particularly problematic.

PixInsight works out-of-the-box without any problems with PC-BSD 10.0-Release. PC-BSD 10.1.1-Release has been released yesterday, but we still haven't tested it. And given our current workload, we'll need some time to create a new virtual machine and test PixInsight on this PC-BSD version.

That said, I am sure you can work with PixInsight on the latest version of PC-BSD. Besides the problem with libicu versions (which is a bug in the PC-BSD distribution, and can be fixed by simply a creating a symbolic link), if you don't have execution permissions on the /tmp directory, you can use a different directory for updates by selecting EDIT > Global Preferences > Directories and Network > Downloads directory. Make sure you select a directory where you have full permissions, and it should work without problems.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline EckyH

  • Newcomer
  • Posts: 5
Re: PCBSD install problems
« Reply #6 on: 2015 February 03 15:24:51 »
Quote
PCBSD-10 (10.1.1RC2)
Please don't try to use PixInsight with a release candidate version of PC-BSD.
Unfortunately all PCBSD versions prior to 10.1.1RC2 failed to install on that computer.
Edit: I know what "Release Candiate" means and any particular problem caused by that testing state is in my responsibility.

Quote
if you don't have execution permissions on the /tmp directory, you can use a different directory for updates by selecting EDIT > Global Preferences > Directories and Network > Downloads directory. Make sure you select a directory where you have full permissions, and it should work without problems.
Griz gave me the hint to change the Downloads directory yesterday morning. Your reply and the successful update here show: that is the solution on PCBSD.

The remaining question was: What causes the permission issue?
Quote
[ecky@Deadman] ~% mount | grep  " /tmp"
tank/tmp on /tmp (zfs, local, noexec, nosuid, nfsv4acls)
This is the default in PCBSD 10.1.1(RC2) and prevents any execution of programs in /tmp.

E.
« Last Edit: 2015 February 03 23:26:34 by EckyH »
Ecky

It wasn't me!

Offline EckyH

  • Newcomer
  • Posts: 5
Re: PCBSD install problems
« Reply #7 on: 2015 February 03 23:39:57 »
Hello,
And given our current workload, we'll need some time to create a new virtual machine and test PixInsight on this PC-BSD version.
It's very good that you keep the BSD community in mind and so I'm happy to have the opportunity use my favourite AP software on my favourite operating system.

Quote
Besides the problem with libicu versions (which is a bug in the PC-BSD distribution, and can be fixed by simply a creating a symbolic link),
Could you please give a hint, to which (version of the) library the link has to be linked to and  how it has to be named?

Many thanks,

E.
Ecky

It wasn't me!

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: PCBSD install problems
« Reply #8 on: 2015 February 04 02:54:34 »
Hi Ecky,

I had a problem with libicu on Linux a while ago http://pixinsight.com/forum/index.php?topic=5116.msg35707#msg35707 . I think it was a warning generated by Qt, and ignoring it had no adverse effects. Dont know if it is the same with PCBSD.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)