Compiling 1.8.3 on Solaris 8

Derek Atkins warlord at MIT.EDU
Wed May 28 18:24:40 CDT 2003


I haven't tried 1.8.4 on Solaris, yet, so I don't know for sure.  This
type of error usually happens during "make install" when the installer
cannot properly re-link the libraries as it's installing them.

You can try "gmake clean; gmake all" and then see if it exists... And
then try "gmake install" and check again.

-derek

Charles Gagnon <charlesg at unixrealm.com> writes:

> Alright, step 2. Compiled 1.8.4 using the same techique as Derek
> gave for 1.8.3. Worked like a charm. But it didn't compile
> libgw-gnc.so:
> 
>    % ls -l src/gnome/.libs/libgw-gnc.*
>    lrwxrwxrwx    1 charlesg users          15 May 28 12:10 src/gnome/.libs/libgw-gnc.la -> ../libgw-gnc.la
>    -rw-r--r--    1 charlesg users        2969 May 28 12:10 src/gnome/.libs/libgw-gnc.lai
>    lrwxrwxrwx    1 charlesg users          18 May 28 12:10 src/gnome/.libs/libgw-gnc.so -> libgw-gnc.so.0.0.0
>    lrwxrwxrwx    1 charlesg users          18 May 28 12:10 src/gnome/.libs/libgw-gnc.so.0 -> libgw-gnc.so.0.0.0
> 
> libgw-gnc.la is there mind you but guile seem to require the shared
> one:
> 
>    % gnucash --version
>    ERROR: In procedure dynamic-link:
>    ERROR: file: "libgw-gnc", message: "ld.so.1: /usr/local/bin/guile: fatal: libgw-gnc.so: open failed: No such file or directory"
> 
> 
> On Wed, May 28, 2003 at 11:05:52AM -0400, Derek Atkins wrote:
> > Well, not 1.8.4 :(
> > 
> > I'll try to fix some of the other problems if I can, but the configure
> > problem is an intltool problem (due to intltool version skew) and
> > there isn't much we can do about it.
> > 
> > -derek
> > 
> > Charles Gagnon <charlesg at unixrealm.com> writes:
> > 
> > > That seem to have worked. I have not tested it yet but it compiled.
> > > Thanks Derek.
> > > 
> > > This was a lot of hacking and tweaking though. Do we expect later
> > > versions of Gnucash to configure and compile better on Solaris?
> > > 
> > > On Fri, May 23, 2003 at 03:19:21PM -0400, Derek Atkins wrote:
> > > > Strange... It looks like it should work.  Ok, can you go into
> > > > src/app-utils/Makefile and add ${INTLLIBS} to
> > > > libgncmod_app_utils_la_LIBADD, so it looks like this:
> > > > 
> > > > libgncmod_app_utils_la_LIBADD = \
> > > >   ${top_builddir}/src/gnc-module/libgncmodule.la \
> > > >   ${top_builddir}/src/engine/libgncmod-engine.la \
> > > >   ${top_builddir}/src/calculation/libgncmod-calculation.la \
> > > >   ${GUILE_LIBS} \
> > > >   ${GLIB_LIBS} ${INTLLIBS}
> > > > 
> > > > Then try building again (don't reconfigure!)  Let me know if that
> > > > helps?
> > > > 
> > > > -derek
> > > > 
> > > > Charles Gagnon <charlesg at unixrealm.com> writes:
> > > > 
> > > > > (charlesg at renoir): /usr/local/src/gnucash-1.8.3$ nm /usr/local/lib/libintl.a | grep textdomain
> > > > > 00000000000000d4 T bind_textdomain_codeset
> > > > > 00000000000000bc T bindtextdomain
> > > > >                  U libintl_bind_textdomain_codeset
> > > > >                  U libintl_bindtextdomain
> > > > >                  U libintl_textdomain
> > > > > 00000000000000a8 T textdomain
> > > > > 00000000000003d8 T libintl_bind_textdomain_codeset
> > > > > 00000000000003b4 T libintl_bindtextdomain
> > > > > textdomain.o:
> > > > > 0000000000000000 T libintl_textdomain
> > > > > (charlesg at renoir): /usr/local/src/gnucash-1.8.3$ 
> > > > > 
> > > > > 
> > > > > On Fri, May 23, 2003 at 02:45:27PM -0400, Derek Atkins wrote:
> > > > > > Strange.  I didn't get this...  What do you get from:
> > > > > > 
> > > > > >         nm /usr/local/lib/libintl.a | grep textdomain
> > > > > > 
> > > > > > I have a guess about what we need to add, but I'd like to verify
> > > > > > I'm right before we try it.
> > > > > > 
> > > > > > -derek
> > > > > > 
> > > > > > Charles Gagnon <charlesg at unixrealm.com> writes:
> > > > > > 
> > > > > > > Got yet a little further...
> > > > > > > 
> > > > > > > gcc -I../../../src -I../../../src/test-core -I../../../src/engine -I../../../src/engine/test-core -I../../../src/app-utils -I../../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -g -O2 -Wall -Wunused -o .libs/test-link-module test-link-module.o  -L/usr/local/lib ../../engine/.libs/libgncmod-engine.so -L/usr/ucblib ../../gnc-module/.libs/libgncmodule.so ../.libs/libgncmod-app-utils.so /usr/local/src/gnucash-1.8.3/src/calculation/.libs/libgncmod-calculation.so ../../engine/.libs/libgw-engine.so ../../../src/test-core/.libs/libgncmod-test.a ../../../src/engine/test-core/.libs/libgncmod-test-engine.a /usr/local/src/gnucash-1.8.3/src/engine/.libs/libgncmod-engine.so /usr/local/lib/libiconv.so -lc /usr/local/src/gnucash-1.8.3/src/gnc-module/.libs/libgncmodule.so /usr/local/src/gnucash-1.8.3/src/core-utils/.libs/libcore-utils.so /usr/local/lib/libltdl.so /usr/local/src/gnucash-1.8.3/src/engine/.libs/libgw-engine.so /usr/local/src/gnucash!
 -1.8!
> >  .3/s!
> > > >  rc/e!
> > > > > >  ngine/.libs/libgw-kvp.so /usr/local/lib/libgwrap-wct.so /usr/local/lib/libgwrap-glib.so /usr/local/lib/libglib.so /usr/local/lib/libguile.so /usr/local/lib/libguile-ltdl.so -ldl -lcrypt -lsocket -lnsl /usr/local/lib/libpopt.so -lm -R/usr/local/lib/gnucash -R/usr/local/lib -R/usr/ucblib
> > > > > > > ../.libs/libgncmod-app-utils.so: undefined reference to `libintl_bindtextdomain'
> > > > > > > ../.libs/libgncmod-app-utils.so: undefined reference to `libintl_textdomain'
> > > > > > > collect2: ld returned 1 exit status
> > > > > > > make[4]: *** [test-link-module] Error 1
> > > > > > > make[4]: Leaving directory `/usr/local/src/gnucash-1.8.3/src/app-utils/test'
> > > > > > > make[3]: *** [all-recursive] Error 1
> > > > > > > make[3]: Leaving directory `/usr/local/src/gnucash-1.8.3/src/app-utils'
> > > > > > > make[2]: *** [all-recursive] Error 1
> > > > > > > make[2]: Leaving directory `/usr/local/src/gnucash-1.8.3/src'
> > > > > > > make[1]: *** [all-recursive] Error 1
> > > > > > > make[1]: Leaving directory `/usr/local/src/gnucash-1.8.3'
> > > > > > > make: *** [all-recursive-am] Error 2
> > > > > > > 
> > > > > > > On Fri, May 23, 2003 at 11:37:09AM -0400, Derek Atkins wrote:
> > > > > > > > Sorry, --disable-error-on-warning (not warnings)
> > > > > > > > 
> > > > > > > > My Bad.
> > > > > > > > 
> > > > > > > > -derek
> > > > > > > > 
> > > > > > > [...]
> > > > > > > 
> > > > > > > -- 
> > > > > > > Charles Gagnon                   | My views are my views and they
> > > > > > > http://unixrealm.com             | do not represent those of anybody
> > > > > > > charlesg at unixrealm.com        | but me.
> > > > > > > 
> > > > > > >    Yeah well... I tried to search the web but it was raining!
> > > > > > >         -- Tara Kinsey
> > > > > > > _______________________________________________
> > > > > > > gnucash-devel mailing list
> > > > > > > gnucash-devel at lists.gnucash.org
> > > > > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > > > > > 
> > > > > > -- 
> > > > > >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > > > > >        Member, MIT Student Information Processing Board  (SIPB)
> > > > > >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> > > > > >        warlord at MIT.EDU                        PGP key available
> > > > > > _______________________________________________
> > > > > > gnucash-devel mailing list
> > > > > > gnucash-devel at lists.gnucash.org
> > > > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > > > > 
> > > > > -- 
> > > > > Charles Gagnon                   | My views are my views and they
> > > > > http://unixrealm.com             | do not represent those of anybody
> > > > > charlesg at unixrealm.com        | but me.
> > > > > 
> > > > >    In Europe, do you think Miles Davis is known as
> > > > >    Kilometers Davis?  Thank you.
> > > > >         -- Stephen Wright's complete standup routine on
> > > > >            The_Late_Show_ with David Letterman, Aug. 29 1994
> > > > > _______________________________________________
> > > > > gnucash-devel mailing list
> > > > > gnucash-devel at lists.gnucash.org
> > > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > > > 
> > > > -- 
> > > >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > > >        Member, MIT Student Information Processing Board  (SIPB)
> > > >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> > > >        warlord at MIT.EDU                        PGP key available
> > > 
> > > -- 
> > > Charles Gagnon                   | My views are my views and they
> > > http://unixrealm.com             | do not represent those of anybody
> > > charlesg at unixrealm.com        | but me.
> > > 
> > >    If man evolved from apes why do we still have apes?
> > >         -- Dennis Miller
> > > _______________________________________________
> > > gnucash-devel mailing list
> > > gnucash-devel at lists.gnucash.org
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > 
> > -- 
> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >        Member, MIT Student Information Processing Board  (SIPB)
> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >        warlord at MIT.EDU                        PGP key available
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at lists.gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 
> -- 
> Charles Gagnon                   | My views are my views and they
> http://unixrealm.com             | do not represent those of anybody
> charlesg at unixrealm.com        | but me.
> 
>    Outside of the killings, Washington has one of the lowest crime
>    rates in the country.
>         -- Mayor Marion Barry, Washington, D.C.
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list