cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Alfresco on Solaris 10: Questions & Issues

mikebreeze
Champ in-the-making
Champ in-the-making
Greetings-

We are attempting to install:

Alfresco Enterprise 3.4.5

on Solaris 10

utilizing existing:

Oracle Enterprise Database 11.1.0.7
Weblogic 10.3.5.0

and installing:

Open Office 3.3 and 2.3
Flash for Solaris SPARC
SWF Tools 0.8.1 and 0.9.1

My first question is: Has anyone successfully installed this product on this combination of hardware/software/OS?

We are having issues installing and configuring Open Office on Solaris.  Since Oracle stopped supporting OO and gave the code to the Apache Software Foundation in June, 2011 it is tough getting any support for OO on Solaris.  We initially installed version 3.3 but kept getting errors that certain libraries were missing.  So we backed down to version 2.3.  It seemed to install OK.  However, Alfresco does not seem to recognize it. 

So my second question is: Has anyone gotten OO to run successfully on Solaris?  Which version did you use?  Did you have to use an X windows type product like X.11 or Cygwin or Xvfb to set up OO or just have Alfresco call it with a headless parameter?  We found an older procedure to install OO here:

http://wiki.alfresco.com/wiki/Installing_on_Solaris

However, it talks about creating a service for Xvfb, which worked.  Then it talks about creating a service for Open Office.  However, within the xml file to create this service there is a line that says:

exec='/alstore/alfresco/installer/start_oo.sh'

We did not know what this pertained to.  And we're not sure if this is for an older version of Alfresco or where it is found, so we couldn't get this procedure to work.

We also had issues with knowing where to place the Flash plugin for Alfreso, which we believe is called:

libflashplayer.so

as well as how do we configure Alfresco to find it?

Lastly, we had issues with SWF Tools.  The configure went OK.  But when we did a make, we got the following error:

In file included from modules/.././bitio.h:23,
                 from modules/../rfxswf.h:37,
                 from modules/swfaction.c:24:
modules/.././types.h:39:2: #error "no way to define 64 bit integer"
modules/.././types.h:42:2: #error "don't know how to define 32 bit integer"
modules/.././types.h:45:2: #error "don't know how to define 16 bit integer"
modules/.././types.h:48:2: #error "don't know how to define 8 bit integer"
*** Error code 1
make: Fatal error: Command failed for target `modules/swfaction.o'
Current working directory /app/swftools-0.9.1/lib
*** Error code 1
make: Fatal error: Command failed for target `all'

and are getting other configure errors on SWF Tools 0.8.1.

So if anyone that has the above combination could possibly render any advice, we would be most grateful.

Thanks,

Mike Calabrese
7 REPLIES 7

mrogers
Star Contributor
Star Contributor
Solaris 10 is part of the supported stack.    It has been validated by Alfresco QA.

Please contact Alfresco support if you are having problems.

oalexandrov
Champ in-the-making
Champ in-the-making
Mike,

Lastly, we had issues with SWF Tools. The configure went OK. But when we did a make, we got the following error:

In file included from modules/.././bitio.h:23,
from modules/../rfxswf.h:37,
from modules/swfaction.c:24:
modules/.././types.h:39:2: #error "no way to define 64 bit integer"
modules/.././types.h:42:2: #error "don't know how to define 32 bit integer"
modules/.././types.h:45:2: #error "don't know how to define 16 bit integer"
modules/.././types.h:48:2: #error "don't know how to define 8 bit integer"
*** Error code 1
make: Fatal error: Command failed for target `modules/swfaction.o'
Current working directory /app/swftools-0.9.1/lib
*** Error code 1
make: Fatal error: Command failed for target `all'

I've resolved the same issue with swtools 0.9.0 by executing "crle -u -l /usr/local/lib" before configure

Best Regards,

Oleg Alexandrov

mikebreeze
Champ in-the-making
Champ in-the-making
Thanks, Oleg

mikebreeze
Champ in-the-making
Champ in-the-making
OK, we took OLEG's advice on the crle command.  We then removed SWF Tools versions 0.9.1 and 0.8.0 and installed 0.9.0.  The ./configure went fine.  The make produced no errors.  Then, when we did a make install, the following errors resulted:

bash-3.2# make install
making install in m4…
cd m4;make install
making install in lib…
cd lib;make install
making install in lib/pdf…
cd lib/pdf;make install
making install in lib…
cd lib;make install
making install in lib/python…
cd lib/python;make install
making install in src…
cd src;make install
/bin/bash ../mkinstalldirs /usr/local/bin
/bin/bash ../mkinstalldirs /usr/local/share/man/man1
installing wav2swf to /usr/local/bin
bash: ./install-sh: No such file or directory
*** Error code 1
The following command caused the error:
for file in wav2swf png2swf swfcombine swfstrings swfextract swfdump swfc jpeg2swf gif2swf swfbbox font2swf swfrender as3compile pdf2swf swfbytes; do if test -f $file;then echo installing $file to /usr/local/bin;./install-sh -c $file /usr/local/bin/`echo $file|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`;ff=./$file.1; inst=`echo $file | sed 's,x,x,'`.1; echo "./install-sh -c -m 644 $ff /usr/local/share/man/man1/$inst"; ./install-sh -c -m 644 $ff /usr/local/share/man/man1/$inst;fi;done
make: Fatal error: Command failed for target `install'
Current working directory /app/swftools-0.9.0/src
*** Error code 1
make: Fatal error: Command failed for target `install'
bash-3.2#

I checked on SWF Tools web site and I can't find where I can even post an issue.  So I will post it here.  We used the Linux build of SWF Tools 0.9.0 because I did not see anything for UNIX or Solaris.  So has anyone encountered this error and will the Linux builds work on Solaris?

Thanks in advance,

Mike Calabrese

oalexandrov
Champ in-the-making
Champ in-the-making
try
"cp src/pdf2swf src/swfcombine src/swfc src/swfdump src/jpeg2swf src/png2swf /usr/local/bin/"

as sugessted there:
http://www.mail-archive.com/swftools-common@nongnu.org/msg04606.html

mikebreeze
Champ in-the-making
Champ in-the-making
The following will describe our experiences installing Alfresco within a Solaris environment.  We will be using Alfresco as a document repository and wiki.  We will discuss the environment that we installed the product and dependent applications within.  We will then detail the opportunities/successes that we encountered at each step:

Sun Solaris 10 server
Weblogic 10.3.5.0
Alfresco 3.4.5
Open Office 3.2
giflib 4.1.6
jpegsrc V6
imagemagick 6.7.5-6
swftools 0.9.0

We already had gcc and make on the box.  We also already had Weblogic and Oracle 11g installed on this server.
We initially installed Alfresco and, after some tweaks, the wiki portion worked fine. 
The problems came with Open Office.  This product is being ‘transitioned’ from Oracle to Apache.  As of March, 2012 Oracle is no longer supporting the product unless you have a support contract.  Apache has this product in its ‘incubation’ phase.  So support was tough to come by except for Google searches.  We found some missing libraries on version 3.3 so we removed it and installed version 3.2.  We had to utilize an X windowing environment to setup OO.  We used cygwin on WIN XP PC connected through a VPN to do this.  I will publish a separate procedure on how to do this later.  We were able to successfully setup OO using this method.
ImageMagick installed with no issues.  Just upload it, ./configure, make, make install and you are done.  giflib and  jpegsrc installed with no issues.  SWFTools configured and made OK.  However, make install failed.  We solved this issue by manually copying src/pdf2swf src/swfcombine src/swfc src/swfdump src/jpeg2swf src/png2swf  to /usr/local/bin. One other area was making sure the maximum heap size is large enough on weblogic or the alfresco deployment will fail.  So it took some tweaking but we were able to successfully get Alfresco 3.4.5 working in a Solaris/Weblogic/Oracle atmosphere.

mikebreeze
Champ in-the-making
Champ in-the-making
We were able to successfully install Open Office 3.1 on a remote Sun Solaris 10 server using X Windows by using the following products and procedures.  We used a WIN XP machine and had previously installed putty and Cygwin.
1. This procedure assumes that the Open Office Solaris packages have been successfully uploaded and that the zipped file for OO has been unzipped.  It does not matter where the OO zipped file is placed as long as it is executable.  As this is being written, Open Office is being transferred from Oracle to the Apache Software Foundation.  So downloads of OO may available from either place.
2. You will need the putty application as part of this procedure.  Just Google the word putty and it will take you to their website where you can download this app.  Be sure to download it to your desktop and run it from there.
3. Download Cygwin by searching for the term cygwin.  Download it to your download directory and run it from there.  Choose all packages, but beware that this app requires a lot of memory. And it will take awhile to install.
4.  On your source WIN XP box bring up a Cygwin XWIN terminal by clicking on:
Start->Programs->Cygwin-X->XWin Server
In that window type:
xhost + (enter)
You should see a response something like:
access control disabled, clients can connect from any host.
5. Configure your putty client as follows:  Launch putty.  In the left side configuration area click on:
SSH->X11
and click on the checkbox that says:
Enable X11 forwarding
6. ssh to the target server via the putty client that you configured in step 5 above as user (we used user oracle).  Make sure that you are utilizing the bash shell.  Issue the command:
echo $DISPLAY
Make a note of that value.
7. Verify that the local environment does not overwrite the display environment (in local .profile)  If there is a $DISPLAY entry in the local .profile file, comment it out, logout and log back in again.
8. Type the command:
/usr/openwin/bin/xclock
If an analog clock shows up within a window on your Windows desktop, then you are configured correctly so far.  If it doesn’t review steps 1-7 again.  You may close the xclock window on your Windows desktop.
9. In the user home directory, create a file called sudoroot.sh.  The file should contain the following code:
#!/bin/bash
# Remember DISPLAY
echo $DISPLAY > /tmp/.echoUser1DISPLAY.txt
chmod a+r /tmp/.echoUser1DISPLAY.txt
# Remember cookie
/usr/openwin/bin/xauth list | grep `echo $DISPLAY | cut -c10-12` > /tmp/.parseUs
er1Xauth.txt
chmod a+r /tmp/.parseUser1Xauth.txt
su - root
If cutting and pasting the above text, make sure that all lines that did not wrap properly are joined using the ‘shift j’ command. Chmod this file to 755 and run the script:
./sudoroot.sh  
Enter the root password.  As root, make sure that you are utilizing the bash shell.  Type the command:
pwd
to be sure that you are in the root directory.
10. Create a file called setxwin.  It should contain the following code:
echo  If you receive an error make sure you are in a bash shell prior to running
this script via:  . ./setxwin
/usr/openwin/bin/xauth add `cat /tmp/.parseUser1Xauth.txt`
export DISPLAY=`cat /tmp/.echoUser1DISPLAY.txt`

Save this file, chmod it to 755 and type the command:
.  ./setxwin
When you are returned to a prompt, issue the command:
echo $DISPLAY
It should be the same as the display value that you recorded earlier.  If the display value is blank, the usual causes are that you are not in bash shell or that you missed one of the earlier steps.  There has to be a display value present in order for you to proceed from this point.
11. As a test, issue the command:
/usr/openwin/bin/xclock 
If this works, a small analog clock will again appear within a window on your desktop.
12.  If step 11 works, on the target Solaris server cd to where you unzipped Open Office and run the command:
./setup
A Windows like setup screen should then appear on your Windows desktop allowing you to run the setup program for Open Office.