<div dir="ltr">Building on Solaris notes:<br><br>I installed openSolaris 2008.05, then updated to all the latest packages (I had to manually enter the address for <a href="http://pkg.opensolaris.org">pkg.opensolaris.org</a> into the /etc/hosts file, because the system could not figure out DNS until after the update).&nbsp; This was done by issuing the command pkg image-update and following its prompts (it wanted me to update the pkg package first, then re-issue the image-update command).<br>
<br>I then rebooted, so the updates would be completed and entered the package manager to install icu, icud, gcc packages and curl.&nbsp; I then had to manually build and install pkg-config from sources, since the executable is not included with the openSolaris packages, from what I could find.<br>
<br>I opted to install CLucene manually, as well, since I thought it would be good for the SWORD library to have it, and it doesn&#39;t appear in the default repositories of openSolaris.<br><br>After that, I configured and built the SWORD library.&nbsp; I received an error message during the linking of the buildtest which claimed it couldn&#39;t find libustdio, even though it was clearly located in /usr/lib.&nbsp; Nevertheless, I forged ahead, undaunted by installing the SWORD library.&nbsp; I had to manually copy sword.pc into /usr/lib/pkgconfig and chmod it to 644 permissions, so that someone other than root can read it.<br>
<br>I then installed SUNWxorg-headers, to pull in the headers and pkg-config files for xrender.pc and other such similar issues.&nbsp; I also installed the SUNWgnu-gettext package from the repository.&nbsp; perl-xml-parser was also required.&nbsp; At some point I also added gnome-common-devel to the mix, though I&#39;m not certain if it was necessary.<br>
<br>So, in short, adding the following packages from the package manager:<br>SUNWxorg-headers<br>gnu-gettext<br>gcc<br>gccruntime<br>gcc-dev<br>icu<br>icud<br>curl<br>perl-xml-parser<br>(possibly) gnome-common-devel<br>and manually installing the following packages:<br>
pkg-config<br>CLucene<br>SWORD<br>should allow you to get Gnomesword 2.4.0 to compile.&nbsp; At some point in the build process, the system died because I did not have permissions to interact with Editor-stubs.c.&nbsp; It appeared that there was no file/group owner correlation, which might be a strange artifact of my system and a lack of knowledge about Solaris&#39; untarring defaults.&nbsp; However, issuing the command chown -R hellings:staff * in the top level of the build directory for gnomesword solved that problem.<br>
<br>I was left, at that point, with linker errors hanging all over the place.&nbsp; So I thought about trying to go back and resolve the issue with the SWORD buildtest.&nbsp; A simple ln -s /usr/lib/libustdio.so.2 /usr/lib/libstdio.so solved the compile problems there, but the linking then issued a large number of undefined symbol errors, all related to icu::UnicodeString and icu::Transliterator.&nbsp; So I went back to the drawing board, recompiling with the --with-icu=no flag enabled (for some reason the packagers of the icu packages in openSolaris did not feel that it was necessary to include the icu-config file with their system).&nbsp; This time the entire SWORD build and install went without a hitch, including the pkg-config file.<br>
<br>So I tried to rebuild the gnomesword and about 2/3 of the undefined symbols were taken care of, but a large number of them still existed, all referenced from the ../lib/gecko/libgecko.a file:<br>Undefined&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; first referenced<br>
&nbsp;symbol&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; in file<br>nsAString::BeginReading() const&nbsp;&nbsp;&nbsp;&nbsp; ../../src/gecko/libgecko.a(gecko-services.o)<br>nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&amp;, nsID const&amp;)../../src/gecko/libgecko.a(Yelper.o)<br>
nsCOMPtr_base::begin_assignment()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ../../src/gecko/libgecko.a(Yelper.o)<br>NS_TableDrivenQI(void*, QITableEntry const*, nsID const&amp;, void**)../../src/gecko/libgecko.a(gecko-services.o)<br>vtable for nsGetInterface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ../../src/gecko/libgecko.a(Yelper.o)<br>
NS_NewGenericFactory(nsIGenericFactory**, nsModuleComponentInfo const*)../../src/gecko/libgecko.a(gecko-services.o)<br>vtable for nsCreateInstanceByContractID../../src/gecko/libgecko.a(Yelper.o)<br>nsCOMPtr_base::assign_from_qi_with_error(nsQueryInterfaceWithError const&amp;, nsID const&amp;)../../src/gecko/libgecko.a(Yelper.o)<br>
nsCOMPtr_base::assign_with_AddRef(nsISupports*)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ../../src/gecko/libgecko.a(Yelper.o)<br>nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&amp;) ../../src/gecko/libgecko.a(Yelper.o)<br>nsCOMPtr_base::~nsCOMPtr_base()&nbsp;&nbsp;&nbsp;&nbsp; ../../src/gecko/libgecko.a(gecko-utils.o)<br>
nsCOMPtr_base::assign_from_gs_contractid_with_error(nsGetServiceByContractIDWithError const&amp;, nsID const&amp;)../../src/gecko/libgecko.a(gecko-utils.o)<br>ld: fatal: Symbol referencing errors. No output written to gnomesword2<br>
<br><br>Good luck to the next warrior!<br><br>--Greg<br><br><div class="gmail_quote">On Tue, Oct 7, 2008 at 11:45 PM, Greg Hellings <span dir="ltr">&lt;<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">List,<br><br>On a side note - I just downloaded and installed OpenSolaris 2008.05 (5.11 for those of you on the Sun versioning scheme) and it installs Gnome 2.20 by default as its windowing system.&nbsp; It might have a more up-to-date version in the default package manager, but I installed it into a VM, and right now the VM is misbehaving.&nbsp; However, basing off of the pre-installed Gnome will probably be much easier than trying to shoe-horn something else into the system.<br>
<font color="#888888">
<br>--Greg</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Sun, Oct 5, 2008 at 9:29 PM, Greg Hellings <span dir="ltr">&lt;<a href="mailto:greg.hellings@gmail.com" target="_blank">greg.hellings@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Karl,<br><br><div class="gmail_quote"><div>On Sun, Oct 5, 2008 at 8:58 PM, Karl Kleinpaste <span dir="ltr">&lt;<a href="mailto:karl@kleinpaste.org" target="_blank">karl@kleinpaste.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Greg, there were approximately two dozen pieces of information in your<br>
message for which I have exactly zero context. &nbsp;Bear in mind that I have<br>
not used a Solaris machine in the better part of 15 years.</blockquote></div><div><br>My apologies, I was very thick with the information.&nbsp; I&#39;ll try and elucidate a little more of it here.<br>&nbsp;</div><div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
For starters, I have no knowledge of how to configure Solaris&#39; package<br>
manager to use any other repository -- none of this GUI tool&#39;s menus<br>
offer any possibility of adding a new repository reference beyond just<br>
<a href="http://opensolaris.org" target="_blank">opensolaris.org</a>, though there is a combobox in the upper right which<br>
would be useful, if such a thing had been configurable. &nbsp;At the moment,<br>
it&#39;s got just 1 element, <a href="http://opensolaris.org" target="_blank">opensolaris.org</a>.</blockquote></div><div><br>Firstly, the system I am working in is not the OpenSolaris but the commercial version of Solaris 10 (which is supposed to be virtually identical to OpenSolaris, just a little behind in the packages and with commercial tech support).&nbsp; I have the ability to login with a GUI, but my campus&#39; VPN will not allow me to install it on a 64-bit operating system (my home PC uses Vista 64-bit), so I have to connect to the Solaris system with command-line for virtually all of my interaction with the system.&nbsp; At that level, if one uses a bash script for login, the system looks and functions extremely similar to a Linux environment.&nbsp; It is from the command line that I use pkg-get, a system which is loosely based off of the Debian apt-get packaging system, but rather than using .deb files, it uses standard Solaris .pkg files.&nbsp; Judging by the number of references I find to it in a Google search, it seems that the system is reasonably well in use by people in the Solaris community.<br>


<br>Since many people want access to the GNU tools and other open source software, but do not necessarily want to deal with the minute differences between the Linux and Solaris environments, a group called Community SoftWare (CSW) offers the pkg-get tool that I mentioned above with a default repository of certainly libraries and programs which are useful (mainly) to developers who are looking for Linux-like library functionality in a Solaris environment.&nbsp; The CSW tools (pkg-get) are available at the website I mentioned in my previous email, <a href="http://www.opencsw.org" target="_blank">http://www.opencsw.org</a>.&nbsp; For my own research on the Solaris system, I have found pkg-get to be an indispensible tool which already has certain of the base libraries and packages which I and my tools rely upon, and I recently installed the SWORD library to that same machine in preparation of some research that I plan to do based off of SWORD data, building it against the libraries installed with pkg-get (all of the dependent libraries were available through pkg-get, except for CLucene).<br>


<br>One of the difficult things related to CSW and the pkg-get system is that it requires the user to manually alter (in my .bashrc script) the variables for PATH and PKG_CONFIG_PATH and so on to find the executables and libraries that are installed by the system, to /opt.&nbsp; Since I don&#39;t use the GUI login except when my command-line login becomes corrupted or defunct, I can&#39;t speak to the ease of installing the gnome packages that are available with the CSW system or using them, but I can tell you that they are available with a default installation of the pkg-get.<br>


<br>For my own part, I installed pkg-get, modified my .bashrc to update the PATH and PKG_CONFIG_PATH variables to point them to the subdirectories of /opt/csw where the packages were installed, and then was able to effortlessly install mysql, apache2, icu, gcc, vim, etc with updated versions that patched problems with the bundled versions for the Solaris 5.10 system.<br>


&nbsp;</div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Also, you say that libxrender is in &quot;both&quot; repositories, but that&#39;s<br>
objectively not true when I am in the package tool, looking at &quot;All&quot;<br>
packages, and I search for &quot;xre&quot; -- empty set.<br>
<br>
In general, I have no knowledge of why any particular pkg-get script or<br>
tool is supposed to provide superior configurability beyond the GUI<br>
package tool I&#39;m already using and so I have no reason to suppose it<br>
will be an improvement when the problem is not the package tool itself<br>
but the fact that the package in question is simply not there.</blockquote></div><div><br>The pkg-get package is not intended to replace the default package
installation system, instead it is intended to supplement that system
with additional packages that Sun will not allow into the Solaris fold.&nbsp; I seriously doubt that it will be better than the GUI system.&nbsp; I find that, for package managers, I almost always prefer to use a GUI tool if I&#39;m looking for libraries which may or may not be in the package repository.&nbsp; But, as a supplement for those packages which the standard package set of Solaris excludes, pkg-get might be a useful addition to your system.<br>


<br>Hope this cleared some things up, and if you need any other help or information, don&#39;t hesitate to ask again.<br><font color="#888888"><br>--Greg<br>&nbsp;</font></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<br>
<br>
Any further clues would be welcome.<br>
<div><div></div><div><br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</div></div></blockquote></div></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>