octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54235] problems building Octave on Solaris


From: Michele
Subject: [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris
Date: Tue, 10 Jul 2018 17:06:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #70, bug #54235 (project octave):

"Are they the same library? Are they different versions of libstdc++?"

No and yes.


# diff /opt/csw/lib/libstdc++.so /usr/sfw/lib/libstdc++.so
Binary files /opt/csw/lib/libstdc++.so and /usr/sfw/lib/libstdc++.so differ
# ls -l /opt/csw/lib/libstdc++.so
lrwxrwxrwx   1 root     root          19 Jul  8 16:16
/opt/csw/lib/libstdc++.so -> libstdc++.so.6.0.21
# ls -l /usr/sfw/lib/libstdc++.so
lrwxrwxrwx   1 root     root          18 Jun 21 12:49
/usr/sfw/lib/libstdc++.so -> libstdc++.so.6.0.3
# ls -l /opt/csw/lib/libstdc++.so.6.0.21
-rwxr-xr-x   1 root     bin      11689172 Oct 13  2017
/opt/csw/lib/libstdc++.so.6.0.21
# ls -l /usr/sfw/lib/libstdc++.so.6.0.3
-r-xr-xr-x   1 root     bin      1582688 Mar 28  2012
/usr/sfw/lib/libstdc++.so.6.0.3
#


"Why are multiple copies of this library installed in different directories?"

My best guess is that Solaris 10 is delivered with a libstdc++ in /opt/sfw/. 
This is a brand new install off the Solaris 10U11 DVD.  The only changes I
made was adding Octave dependencies as I went down the list.  The most
convenient place to get these is Opencsw so that's what I did.  I installed
csw's libstd++ not knowing that there was already one there.

"What do those directories mean?"

I'm not sure I understand.

"WHy should I choose to link against one or the other? "

csw is newer than sfw.  It's not clear though if you want the newer one or the
older one.


"Maybe most importantly, I see that /usr/sfw/lib only shows up in your
config.log in the context of the FreeType library.  Why is that?"

That's a good question.

"Is this correct? "

Probably not.

"Is this a bug in the FreeType packaging?"

Possibly, though the csw packages usually play well together.

"Is FreeType installed differently from all of the other OpenCSW packages on
your system?"

No.


# pkgutil -i freetype
Solving needed dependencies ...
Solving dependency order ...
34 CURRENT packages:
        CSWcas-texinfo-1.50,REV=2015.01.17
        CSWcommon-1.5,REV=2010.12.11
        CSWfreetype-1.3.1,REV=2004.09.19
        CSWggettext-0.19.8,REV=2016.09.08
        CSWggettext-data-0.19.8,REV=2016.09.08
        CSWiconv-1.14,REV=2011.08.08
        CSWlibasprintf0-0.19.8,REV=2016.09.08
        CSWlibcharset1-1.14,REV=2011.08.07
        CSWlibgcc-s1-5.5.0,REV=2017.10.23
        CSWlibgettextlib0-14-1-0.18.1.1,p,REV=2011.02.12
        CSWlibgettextlib0-17-0.18.1.1,p,REV=2011.02.12
        CSWlibgettextlib0-19-8-0.19.8,REV=2016.09.08
        CSWlibgettextpo1-0.19.8,REV=2016.09.08
        CSWlibgettextsrc0-19-8-0.19.8,REV=2016.09.08
        CSWlibgomp1-5.5.0,REV=2017.10.23
        CSWlibiconv2-1.14,REV=2011.08.07
        CSWlibintl2-0.18.1.1,p,REV=2011.02.12
        CSWlibintl3-0.18.1.1,p,REV=2011.02.12
        CSWlibintl8-0.18.1.1,p,REV=2011.03.15
        CSWlibintl9-0.19.8,REV=2016.09.08
        CSWliblzma5-5.0.5,REV=2013.07.05
        CSWlibncurses5-5.9,REV=2011.11.21
        CSWlibncurses6-6.1,REV=2018.02.01
        CSWlibncursesw5-5.9,REV=2011.11.21
        CSWlibncursesw6-6.1,REV=2018.02.01
        CSWlibpanel5-5.9,REV=2011.11.21
        CSWlibpanelw5-5.9,REV=2011.11.21
        CSWlibstdc++6-5.5.0,REV=2017.10.23
        CSWlibunistring2-0.9.9,REV=2018.03.11
        CSWlibxml2-2-2.9.3,REV=2016.02.16
        CSWlibz1-1.2.8,REV=2013.09.23
        CSWncurses-6.1,REV=2018.02.01
        CSWterminfo-6.1,REV=2018.02.01
        CSWterminfo-rxvt-unicode-9.20,REV=2014.10.31

Nothing to do.
#


" if you can fix the FreeType -I and -L options in the build, then this
/usr/sfw vs /opt/csw error may resolve itself."

OK, how do I do that?

I don't understand why it's even looking in /opt/sfw in the first place.  None
of my flags include that.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54235>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]