Re: Question building 5.15/04 on Solaris 8 w/ Sun Workshop 7

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 04 Apr 2007 09:24:08 +0200


Hi Bruce,

this page suggests that libXft is available for Solaris 8: http://www.sunfreeware.com/programlistsparc8.html#xft Could you install it?

Axel.

Bruce.Oneel_at_obs.unige.ch wrote:
> Hi,
>
> Well, more progress.
>
> I configure with:
>
> ./configure solarisCC5 --disable-xft
>
> but it fails with:
>
> Generating dictionary x11/src/G__X11.cxx...
> utils/src/rootcint_tmp -cint -f x11/src/G__X11.cxx -c x11/inc/TGX11.h
> x11/inc/LinkDef.h
> bin/rmkdepend -R -fx11/src/G__X11.d -Y -w 1000 -- \
> -KPIC -I/usr/openwin/include
> -ptr/isdc_sw/osa_sw/osa_sw-6.0/WS/7/root -Iinclude -mt -D__cplusplus
> -Icint/lib/prec_stl \
> -Icint/stl -- x11/src/G__X11.cxx
> CC -KPIC -I/usr/openwin/include
> -ptr/isdc_sw/osa_sw/osa_sw-6.0/WS/7/root -Iinclude -mt -I. -o
> x11/src/G__X11.o -c x11/src/G__X11.cxx
> CC -G -ptr/isdc_sw/osa_sw/osa_sw-6.0/WS/7/root -O -o lib/libGX11.so
> x11/src/GX11Gui.o x11/src/Rotated.o x11/src/TGX11.o
> x11/src/gifdecode.o x11/src/gifencode.o x11/src/gifquantize.o
> x11/src/G__X11.o -L/usr/local/lib -lXpm -lXext -lX11 -lXft
> ld: fatal: library -lXft: not found
> ld: fatal: File processing errors. No output written to lib/libGX11.so
> make: *** [lib/libGX11.so] Error 1
> rm utils/src/RStl_tmp.cxx utils/src/rootcint_tmp.cxx
> Exit 2
>
>
> How do I get it to not want Xft?
>
> Thanks!
>
> cheers
>
> bruce
>
> Bruce.Oneel_at_obs.unige.ch writes:
> > Hi,
> >
> > In the past (up to version 5.08.00) I used ./configure solaris,
> > ./configure solarisCC5 gets much further.
> >
> > Now it fails in freetype wanting a better egrep. So I'll fix that and
> > try again.
> >
> > Thanks!
> >
> > cheers
> >
> > bruce
> >
> > Philippe Canal writes:
> > > Hi Bruce,
> > >
> > > Which 'solaris' platform did you try when configure.
> > > On your platform you should not be use libstrm.cxx but
> > > either sunstrm.cxx or sun5strm.cxx
> > >
> > > I think you should try:
> > >
> > > ./configure solarisCC5
> > >
> > > Cheers,
> > > Philippe.
> > >
> > >
> > > -----Original Message-----
> > > From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
> > > On Behalf Of Bruce.Oneel_at_obs.unige.ch
> > > Sent: Monday, April 02, 2007 5:03 AM
> > > To: Axel Naumann
> > > Cc: Bruce.Oneel_at_obs.unige.ch; ROOT Mailin List
> > > Subject: Re: [ROOT] Question building 5.15/04 on Solaris 8 w/ Sun Workshop 7
> > >
> > > Hi,
> > >
> > > No problem, thanks for an answer. Sadly the answer helps, but doesn't
> > > solve the problem.
> > >
> > > Thanks for any help!
> > >
> > > cheers
> > >
> > > bruce
> > >
> > >
> > > bin/rmkdepend -R -fcint/src/libstrm.d -Y -w 1000 -- -KPIC -DG__REGEXP1
> > > -DG__UNIX -DG__OSFDLL -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO
> > > -Iinclude -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src
> > > -Icint/lib/ -Icint/lib/stream -D__cplusplus -- cint/src/libstrm.cxx
> > > CC -O -KPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL -DG__SHAREDLIB
> > > -DG__ROOT -DG__REDIRECTIO -Iinclude -DG__HAVE_CONFIG -DG__NOMAKEINFO
> > > -DG__CINTBODY -Icint/src -Icint/lib/ -Icint/lib/stream -o
> > > cint/src/libstrm.o -c cint/src/libstrm.cxx
> > > "cint/src/libstrm.cxx", line 42: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::overflow(int) is not accessible from
> > > G__G__stream_0_1_0(G__value*, const char*, G__param*, int).
> > > "cint/src/libstrm.cxx", line 45: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::overflow(int) is not accessible from
> > > G__G__stream_0_1_0(G__value*, const char*, G__param*, int).
> > > "cint/src/libstrm.cxx", line 53: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::underflow() is not accessible from
> > > G__G__stream_0_2_0(G__value*, const char*, G__param*, int).
> > > "cint/src/libstrm.cxx", line 59: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::pbackfail(int) is not accessible from
> > > G__G__stream_0_3_0(G__value*, const char*, G__param*, int).
> > > "cint/src/libstrm.cxx", line 65: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::sync() is not accessible from
> > > G__G__stream_0_4_0(G__value*, const char*, G__param*, int).
> > > "cint/src/libstrm.cxx", line 73: Error: streamoff is not defined.
> > > "cint/src/libstrm.cxx", line 73: Error: Badly formed expression.
> > > "cint/src/libstrm.cxx", line 77: Error: streamoff is not defined.
> > > "cint/src/libstrm.cxx", line 77: Error: Badly formed expression.
> > > "cint/src/libstrm.cxx", line 87: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::seekpos(std::fpos<__mbstate_t>, int) is not
> > > accessible from G__G__stream_0_6_0(G__value*, const char*, G__param*,
> > > int).
> > > "cint/src/libstrm.cxx", line 90: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::seekpos(std::fpos<__mbstate_t>, int) is not
> > > accessible from G__G__stream_0_6_0(G__value*, const char*, G__param*,
> > > int).
> > > "cint/src/libstrm.cxx", line 98: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::xsputn(const char*, long) is not accessible
> > > from G__G__stream_0_7_0(G__value*, const char*, G__param*, int).
> > > "cint/src/libstrm.cxx", line 104: Error: std::basic_streambuf<char,
> > > std::char_traits<char>>::xsgetn(char*, long) is not accessible from
> > > G__G__stream_0_8_0(G__value*, const char*, G__param*, int).
> > > "cint/src/libstrm.cxx", line 116: Error: out_waiting is not a member
> > > of std::basic_streambuf<char, std::char_traits<char>>.
> > > "cint/src/libstrm.cxx", line 140: Error: stossc is not a member of
> > > std::basic_streambuf<char, std::char_traits<char>>.
> > > "cint/src/libstrm.cxx", line 211: Error: _RWSTDMutex::operator=(const
> > > _RWSTDMutex&) is not accessible from std::basic_streambuf<char,
> > > std::char_traits<char>>::operator=(const std::basic_streambuf<char,
> > > std::char_traits<char>>&).
> > > "cint/src/libstrm.cxx", line 239: Error: opfx is not a member of
> > > std::basic_ostream<char, std::char_traits<char>>.
> > > "cint/src/libstrm.cxx", line 245: Error: osfx is not a member of
> > > std::basic_ostream<char, std::char_traits<char>>.
> > > "cint/src/libstrm.cxx", line 273: Error: streamoff is not defined.
> > > "cint/src/libstrm.cxx", line 273: Error: Badly formed expression.
> > > "cint/src/libstrm.cxx", line 512: Error: A value of type void is not
> > > allowed.
> > > "cint/src/libstrm.cxx", line 649: Error: bitalloc is not a member of
> > > std::basic_ios<char, std::char_traits<char>>.
> > > "cint/src/libstrm.cxx", line 687: Error: ipfx is not a member of
> > > std::basic_istream<char, std::char_traits<char>>.
> > > "cint/src/libstrm.cxx", line 693: Error: isfx is not a member of
> > > std::basic_istream<char, std::char_traits<char>>.
> > > "cint/src/libstrm.cxx", line 711: Error: streamoff is not defined.
> > > Compilation aborted, too many Error messages.
> > > make: *** [cint/src/libstrm.o] Error 1
> > >
> > > Axel Naumann writes:
> > > > Hi Bruce,
> > > >
> > > > sorry about the large response time. Could you check whether replacing
> > > >
> > > > #ifndef G__NEWSTDHEADER
> > > > #if defined(__APPLE__)
> > > > #include <iostream.h>
> > > > #else
> > > > #include <stream.h>
> > > > #endif
> > > > #endif
> > > >
> > > > by
> > > >
> > > > #ifndef G__NEWSTDHEADER
> > > > #if defined(__APPLE__) || defined(__SUNPRO_CC)
> > > > #include <iostream.h>
> > > > #else
> > > > #include <stream.h>
> > > > #endif
> > > > #endif
> > > >
> > > > in cint/lib/stream/strm.h and
> > > >
> > > > #ifndef G__NEWSTDHEADER
> > > > #if defined(__APPLE__)
> > > > #include <iostream.h>
> > > > #elif defined(_WINDOWS)
> > > > #include <stdiostr.h>
> > > > #else
> > > > #include <stdiostream.h>
> > > > #endif
> > > > #endif
> > > >
> > > > by
> > > >
> > > > #ifndef G__NEWSTDHEADER
> > > > #if defined(__APPLE__) || defined(__SUNPRO_CC)
> > > > #include <iostream.h>
> > > > #elif defined(_WINDOWS)
> > > > #include <stdiostr.h>
> > > > #else
> > > > #include <stdiostream.h>
> > > > #endif
> > > > #endif
> > > >
> > > > in cint/lib/stream/stdiostr.h
> > > >
> > > > solves it for you? Note that this is not yet the final patch.
> > > >
> > > > Cheers, Axel.
> > > >
> > > > Bruce.Oneel_at_obs.unige.ch wrote:
> > > > > Hi,
> > > > >
> > > > > I'm trying to build Root 5.15/04 on Solaris 8 with Sun Workshop 7.
> > > > > It's not quite working.
> > > > >
> > > > > I get the same error with Root 5.14/00c as well.
> > > > >
> > > > > Thanks in advance for any help!
> > > > >
> > > > > cheers
> > > > >
> > > > > bruce
> > > > >
> > > > > bin/rmkdepend -R -fcint/src/libstrm.d -Y -w 1000 -- -KPIC -DG__REGEXP1
> > > > > -DG__UNIX -DG__OSFDLL -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO
> > > > > -Iinclude -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src
> > > > > -Icint/lib/ -Icint/lib/stream -D__cplusplus -- cint/src/libstrm.cxx
> > > > > CC -O -KPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL -DG__SHAREDLIB
> > > > > -DG__ROOT -DG__REDIRECTIO -Iinclude -DG__HAVE_CONFIG -DG__NOMAKEINFO
> > > > > -DG__CINTBODY -Icint/src -Icint/lib/ -Icint/lib/stream -o
> > > > > cint/src/libstrm.o -c cint/src/libstrm.cxx
> > > > > "cint/lib/stream/stdiostr.h", line 27: Error: Could not open include
> > > > > file <stdiostream.h>.
> > > > > "cint/lib/stream/strm.h", line 25: Error: Could not open include file
> > > > > <stream.h>.
> > > > > "cint/src/libstrm.cxx", line 42: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::overflow(int) is not accessible from
> > > > > G__G__stream_0_1_0(G__value*, const char*, G__param*, int).
> > > > > "cint/src/libstrm.cxx", line 45: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::overflow(int) is not accessible from
> > > > > G__G__stream_0_1_0(G__value*, const char*, G__param*, int).
> > > > > "cint/src/libstrm.cxx", line 53: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::underflow() is not accessible from
> > > > > G__G__stream_0_2_0(G__value*, const char*, G__param*, int).
> > > > > "cint/src/libstrm.cxx", line 59: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::pbackfail(int) is not accessible from
> > > > > G__G__stream_0_3_0(G__value*, const char*, G__param*, int).
> > > > > "cint/src/libstrm.cxx", line 65: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::sync() is not accessible from
> > > > > G__G__stream_0_4_0(G__value*, const char*, G__param*, int).
> > > > > "cint/src/libstrm.cxx", line 73: Error: streamoff is not defined.
> > > > > "cint/src/libstrm.cxx", line 73: Error: Badly formed expression.
> > > > > "cint/src/libstrm.cxx", line 77: Error: streamoff is not defined.
> > > > > "cint/src/libstrm.cxx", line 77: Error: Badly formed expression.
> > > > > "cint/src/libstrm.cxx", line 87: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::seekpos(std::fpos<__mbstate_t>, int) is not
> > > > > accessible from G__G__stream_0_6_0(G__value*, const char*, G__param*,
> > > > > int).
> > > > > "cint/src/libstrm.cxx", line 90: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::seekpos(std::fpos<__mbstate_t>, int) is not
> > > > > accessible from G__G__stream_0_6_0(G__value*, const char*, G__param*,
> > > > > int).
> > > > > "cint/src/libstrm.cxx", line 98: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::xsputn(const char*, long) is not accessible
> > > > > from G__G__stream_0_7_0(G__value*, const char*, G__param*, int).
> > > > > "cint/src/libstrm.cxx", line 104: Error: std::basic_streambuf<char,
> > > > > std::char_traits<char>>::xsgetn(char*, long) is not accessible from
> > > > > G__G__stream_0_8_0(G__value*, const char*, G__param*, int).
> > > > > "cint/src/libstrm.cxx", line 116: Error: out_waiting is not a member
> > > > > of std::basic_streambuf<char, std::char_traits<char>>.
> > > > > "cint/src/libstrm.cxx", line 140: Error: stossc is not a member of
> > > > > std::basic_streambuf<char, std::char_traits<char>>.
> > > > > "cint/src/libstrm.cxx", line 211: Error: _RWSTDMutex::operator=(const
> > > > > _RWSTDMutex&) is not accessible from std::basic_streambuf<char,
> > > > > std::char_traits<char>>::operator=(const std::basic_streambuf<char,
> > > > > std::char_traits<char>>&).
> > > > > "cint/src/libstrm.cxx", line 239: Error: opfx is not a member of
> > > > > std::basic_ostream<char, std::char_traits<char>>.
> > > > > "cint/src/libstrm.cxx", line 245: Error: osfx is not a member of
> > > > > std::basic_ostream<char, std::char_traits<char>>.
> > > > > "cint/src/libstrm.cxx", line 273: Error: streamoff is not defined.
> > > > >
> > > >
> > >
> > > --
> > > Time estimates - Double the number and increment the unit
> > >
> > > Bruce O'Neel phone: +41 22 379 21 57
> > > INTEGRAL Science Data Centre +41 22 379 21 00 (switchb.)
> > > Chemin d'Ecogia 16 fax: +41 22 379 21 35
> > > CH-1290 VERSOIX e-mail: Bruce.Oneel_at_obs.unige.ch
> > > Switzerland WWW: http://isdc.unige.ch/
> > >
> > >
> >
> > --
> > Time estimates - Double the number and increment the unit
> >
> > Bruce O'Neel phone: +41 22 379 21 57
> > INTEGRAL Science Data Centre +41 22 379 21 00 (switchb.)
> > Chemin d'Ecogia 16 fax: +41 22 379 21 35
> > CH-1290 VERSOIX e-mail: Bruce.Oneel_at_obs.unige.ch
> > Switzerland WWW: http://isdc.unige.ch/
> >
>
Received on Wed Apr 04 2007 - 09:25:12 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 04 2007 - 11:50:02 CEST