Conversation with #kde-solaris

(20:15:42) monzie: hi kszwed
(20:15:44) monzie: hi steleman
(20:38:09) steleman: hi monzie :-)
(20:38:41) monzie: Hi steleman!
(20:38:54) monzie: i am Manish Chakravary.. (probably you'll recognize me by my real name)
(20:38:59) monzie: and i know who you are!
(20:39:04) steleman: i know :-)
(20:39:19) steleman: because i did /whois monzie :-)
(20:40:12) monzie: and i am struggling to get basic stuff working on my shiny new SXDE box, you;ll know cause you are in #opensolaris
(20:40:22) monzie: i'm still excited about kde/solaris though!
(20:41:03) steleman: oh is it b0rked ?
(20:41:38) steleman: SXDE2 -- The Sequel ?
(20:41:45) monzie: nope , just SXDE
(20:42:25) steleman: oh boy
(20:43:15) monzie: steleman: is it not a good enough distro?
(20:43:21) monzie: steleman: should i use something else?
(20:43:28) monzie: steleman: what'd you recommend?
(20:43:34) steleman: well ...
(20:43:39) monzie: steleman: or should i go with hardcore solaris 10?
(20:43:41) steleman: it's based on Nevada
(20:44:00) steleman: i use S10U2 06/06
(20:44:27) steleman: which is one year old
(20:44:29) steleman: and i can't upgrade it
(20:44:34) steleman: but at least it works :-)
(20:44:49) monzie: steleman: i have Solaris 10 11/06
(20:44:55) monzie: DVD.. how's that?
(20:45:01) steleman: better :-)
(20:45:06) steleman: you can upgrade it maybe
(20:45:17) steleman: when S10 08/07 comes out
(20:45:18) monzie: steleman: which is the one which you'd recommed for KDE development ?
(20:45:31) steleman: personally i prefer working on stable releases
(20:45:36) steleman: with Nevada, you never know what you get
(20:45:42) steleman: some are good, some are really broken
(20:46:13) monzie: steleman: i tried the whole night yesterday.. (i just got an internet conn at home a few hours back)
(20:46:25) monzie: just could not get qt 4.2.2. to compile
(20:46:28) steleman: and no luck ?
(20:46:39) monzie: i wonder how i'll get qt-copy to compile
(20:46:59) monzie: tried sun-cc and gcc
(20:47:01) steleman: 4.2.2 ?
(20:47:08) steleman: 4.2.2 compiles
(20:47:09) monzie: somehow i want to try only suncc
(20:47:10) steleman: on S19
(20:47:11) steleman: S10
(20:47:14) monzie: hmm
(20:47:26) steleman: where did it bork ?
(20:47:26) monzie: does that mean my SXDE is broken ?
(20:47:38) steleman: not necessarily
(20:47:41) monzie: qgl_p_h.cpp
(20:47:49) monzie: i tried with --no-opengl
(20:47:50) steleman: ohh
(20:47:56) steleman: what happened there
(20:47:58) monzie: hmm
(20:48:12) steleman: you should have OpenGL in S10U3
(20:48:15) monzie: i dont have the logs any more. but if you could share with me the way you build it,
(20:48:16) steleman: they put Mesa in it
(20:48:17) monzie: it'd be great
(20:48:40) steleman: hold on 2 minutes k i have a URL
(20:48:53) monzie: steleman: i have my NVIDIA acclerated driver work.. the utility says that direct rendering is on. so i'm sure opengl is fine
(20:49:04) steleman: http://svn2.cvsdude.com/kdesolaris/trunk/QT/4.2.2
(20:49:15) steleman: oh so you definitely have OpenGL
(20:49:23) steleman: you can svn co anonymously
(20:49:34) monzie: hmm
(20:50:02) monzie: steleman: it seems i've to build svn first :( SXDE does not come with svn
(20:50:11) steleman: yeah i know
(20:50:13) steleman: oh bummer
(20:50:19) steleman: and svn depends on apache
(20:50:19) monzie: how can it be a "Developer Edition" without svn ?
(20:50:26) steleman: lol
(20:50:32) steleman: i have no idea
(20:50:42) monzie: am i better off pulling svn from blastwave?
(20:50:53) steleman: yeah
(20:50:57) monzie: steleman: i've the tarball from qt's website..
(20:50:59) steleman: at least you dont have to deal with building it
(20:51:12) steleman: QT 4.2.2 needs very few patches
(20:51:15) monzie: steleman: the original pristine tarball.. can i not try it?
(20:51:20) steleman: yah you can
(20:51:25) steleman: a few things will fail
(20:51:34) steleman: oh i wonder if SXDE has OpenGL at all
(20:51:37) monzie: steleman: cause trolltech says that solaris-cc is supported
(20:51:43) steleman: yes it is
(20:51:52) steleman: i build QT with SunPro only
(20:51:57) steleman: 32- and 64- bit and it works
(20:52:22) monzie: steleman: on linux i had glxgears.. it isnt in SXDE-minus-svn (apt name eh ;) ? )
(20:52:36) steleman: LOL
(20:52:52) steleman: Sun doesnt deliver glxgears i know
(20:52:58) steleman: not even on hardcore Solaris
(20:53:23) monzie: hmm
(20:53:24) steleman: oh
(20:53:43) steleman: do you have /usr/X11/include/GL ?
(20:54:01) monzie: lemme check
(20:54:15) monzie: yup
(20:54:17) monzie: -bash-3.00# cd /usr/X11/include/GL/
(20:54:17) monzie: -bash-3.00# ls
(20:54:17) monzie: GLwDrawA.h GLwMDrawAP.h glu.h glxint.h glxtokens.h
(20:54:17) monzie: GLwDrawAP.h gl.h glx.h glxmd.h osmesa.h
(20:54:17) monzie: GLwMDrawA.h glext.h glxext.h glxproto.h
(20:55:45) monzie: i'll try to build Qt 4.2.2
(20:55:49) monzie: my PATH is /usr/ccs/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb
(20:55:54) monzie: is this fine?
(20:56:16) steleman: yes
(20:56:36) monzie: i am able to build KDE4 on my own in linux
(20:56:47) steleman: so this should be added to -I/usr/X11/include
(20:56:50) steleman: oh i know
(20:56:57) monzie: steleman: if you'll please help me out once with the qt problem.. i'll be able to contribute, really
(20:56:59) steleman: building KDE on Solaris is a major project
(20:57:06) steleman: yah i can help you
(20:57:12) monzie: thank you so much :)
(20:57:20) monzie: i'll fire ./configure
(20:57:23) monzie: as is
(20:57:26) steleman: nononono
(20:57:27) steleman: stop :-)
(20:57:29) monzie: ok
(20:57:36) monzie: you -fast ?
(20:57:45) steleman: do you have -I/usr/X11/include in qmake.conf ?
(20:57:46) steleman: no -fast
(20:57:49) steleman: -fast is slow :-)_
(20:57:49) monzie: ok
(20:57:57) monzie: lemme check
(20:58:31) monzie: where is qmake.conf ?
(20:58:59) monzie: sorry, found it
(20:59:10) steleman: mkspecs/solaris-cc/qmake.conf
(20:59:17) monzie: yeah..
(20:59:39) steleman: you can add it to your $CPPFLAGS
(21:00:14) monzie: one line catches my attention:
(21:00:14) monzie: QMAKE_LIBDIR_OPENGL = /usr/openwin/lib
(21:00:21) monzie: is this normal?
(21:01:39) steleman: oh this is sparc based
(21:01:41) steleman: :-)
(21:01:43) steleman: that's where it is on SPARC
(21:01:52) monzie: oops
(21:01:52) steleman: you can change that to /usr/X11/lib
(21:01:55) monzie: ok
(21:01:58) monzie: one sec..
(21:02:19) monzie: i'm also writing this on my blog.. so that i can share it with the BOSUG guys
(21:02:27) steleman: ok
(21:02:59) steleman: and actually, since you have a nVIDIA card ?
(21:03:02) monzie: yeah
(21:03:03) steleman: you can chage it like this:
(21:03:05) monzie: ok
(21:03:10) steleman: QMAKE_INCDIR_OPENGL = /usr/X11/include/NVIDIA
(21:03:18) steleman: QMAKE_LIBDIR_OPENGL = /usr/X11/lib/NVIDIA
(21:03:53) steleman: and then add them to your CPPFLAGS and LDFLAGS
(21:03:56) steleman: -I/usr/X11/include/NVIDIA
(21:04:02) steleman: -L/usr/X11/lib/NVIDIA
(21:04:49) steleman: and then make sure you have the right CXXFLAGS for Studio
(21:04:52) monzie: okay
(21:05:04) steleman: QMAKE_CXXFLAGS = -features=%all,extensions -instances=global -template=geninlinefuncs -verbose=template -xipo=1 -xO5 -s -xregs=no%frameptr -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xbuiltin=%all -xinline=%auto -xjobs=2 -xlibmil -xustr=ascii_utf16_ushort -xlibmopt -z now -z nodefaultlib -z combreloc -z redlocsym -z rescan -z absexec -xldscope=symbolic
(21:05:05) steleman: -xalias_level=compatible -xlang=c99 -xildoff -lc -lpthread -lposix4 -lrt -mt -D_REENTRANT -DKSSL_HAVE_SSL=1 -DNDEBUG -DNO_DEBUG -KPIC -DPIC -xF=%none -xthreadvar -D__EXTENSIONS__ -DQ_OS_SOLARIS=1 -DXORG -UUSE_X11R6_XIM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_XPG4 -D_XPG4_2 -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS -DQT_QLOCALE_NEEDS_VOLATILE -UUSE_X11R6_XIM -DQ_NO_PACKED_REFERENCE -DQT_THREAD_SUPPORT -DGTK_COMPILATION
(21:05:05) steleman: -UGTK_DISABLE_DEPRECATED -DLIBXML_THREAD_ALLOC_ENABLED -DSOLARIS -DSOLARIS10 -DUSE_SOLARIS -DKSSL_HAVE_SSL=1 -DQT_THREAD_SUPPORT -xtarget=pentium4 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -xipo=1 -xO5 -s
(21:05:17) monzie: wow. not bad :)
(21:05:27) steleman: oh
(21:05:36) steleman: something is missing
(21:05:38) steleman: hold on
(21:06:17) steleman: QMAKE_CXXFLAGS = -features=%all,extensions -instances=global -template=geninlinefuncs -verbose=template -xipo=1 -xO5 -s -xregs=no%frameptr -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xbuiltin=%all -xinline=%auto -xjobs=2 -xlibmil -xustr=ascii_utf16_ushort -xlibmopt -z now -z nodefaultlib -z combreloc -z redlocsym -z rescan -z absexec -xldscope=symbolic
(21:06:20) steleman: -xalias_level=compatible -xlang=c99 -xildoff -lc -lpthread -lposix4 -lrt -mt -D_REENTRANT -DKSSL_HAVE_SSL=1 -DNDEBUG -DNO_DEBUG -KPIC -DPIC -xF=%none -xthreadvar -D__EXTENSIONS__ -DQ_OS_SOLARIS=1 -DXORG -UUSE_X11R6_XIM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_XPG4 -D_XPG4_2 -D_XPG5 -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS -DQT_QLOCALE_NEEDS_VOLATILE -UUSE_X11R6_XIM -DQ_NO_PACKED_REFERENCE -DQT_THREAD_SUPPORT
(21:06:20) steleman: -DGTK_COMPILATION -UGTK_DISABLE_DEPRECATED -DLIBXML_THREAD_ALLOC_ENABLED -DSOLARIS -DSOLARIS10 -DUSE_SOLARIS -DKSSL_HAVE_SSL=1 -DQT_THREAD_SUPPORT -xtarget=pentium4 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -xipo=1 -xO5 -s
(21:06:22) steleman: like this
(21:06:27) steleman: you also need -D_XPG5
(21:06:53) steleman: you have an AMD box or Intel ?
(21:06:58) monzie: steleman: ok
(21:07:04) monzie: steleman: i have an intel box
(21:07:12) steleman: P4 or Xeon ?
(21:07:25) monzie: p4
(21:07:30) monzie: my uname -a
(21:07:31) monzie: SunOS solaris-devx 5.11 snv_55b i86pc i386 i86pc
(21:07:40) steleman: oh this should be fine then
(21:07:41) steleman: it has sse2
(21:08:33) monzie: yup
(21:09:05) steleman: oh one more thing
(21:09:15) monzie: one small doubt
(21:09:16) steleman: qmake doesn't like high optimizations at all
(21:09:24) steleman: when building
(21:09:30) steleman: so
(21:09:41) steleman: you can tone down the -xO5 to -xO3
(21:09:53) monzie: $$QMAKE_CFLAGS should remain or not?
(21:10:01) steleman: you can get it to compile with -xO5 as well but it needs some jujitsu
(21:10:06) steleman: yah just change -xO5 to -xO3
(21:10:31) monzie: i mean should i prepend $$QMAKE_CFLAGS to the flags you gave me?
(21:10:44) steleman: nah just replace them in qmake.conf
(21:10:48) steleman: :-)
(21:11:00) steleman: QMAKE_CXXFLAGS and QMAKE_CXXFLAGS_RELEASE
(21:11:00) monzie: ok
(21:11:38) monzie: so this is what my CXXFLAGS is:
(21:11:44) monzie: QMAKE_CXXFLAGS =
(21:11:44) monzie: -features=%all,extensions -instances=global -template=geninlinefuncs -verbose=template -xipo=1 -xO5 -s -xregs=no%frameptr -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xbuiltin=%all -xinline=%auto -xjobs=2 -xlibmil -xustr=ascii_utf16_ushort -xlibmopt -z now -z nodefaultlib -z combreloc -z redlocsym -z rescan -z absexec -xldscope=symbolic
(21:11:44) monzie: -xalias_level=compatible -xlang=c99 -xildoff -lc -lpthread -lposix4 -lrt -mt -D_REENTRANT -DKSSL_HAVE_SSL=1 -DNDEBUG -DNO_DEBUG -KPIC -DPIC -xF=%none -xthreadvar -D__EXTENSIONS__ -DQ_OS_SOLARIS=1 -DXORG -UUSE_X11R6_XIM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_XPG4 -D_XPG4_2 -D_XPG5 -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS -DQT_QLOCALE_NEEDS_VOLATILE -UUSE_X11R6_XIM -DQ_NO_PACKED_REFERENCE -DQT_THREAD_SUPPORT
(21:11:44) monzie: -DGTK_COMPILATION -UGTK_DISABLE_DEPRECATED -DLIBXML_THREAD_ALLOC_ENABLED -DSOLARIS -DSOLARIS10 -DUSE_SOLARIS -DKSSL_HAVE_SSL=1 -DQT_THREAD_SUPPORT -xtarget=pentium4 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -xipo=1 -xO3 -s
(21:11:45) steleman: QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lxnet -lsocket -lnsl
(21:12:01) steleman: you have another -xO5 at the top :-)
(21:12:09) monzie: oops, sorry
(21:12:18) steleman: QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lxnet -lsocket -lnsl
(21:12:27) steleman: QMAKE_LFLAGS_THREAD = -lc -lpthread -lposix4 -lrt -mt
(21:12:34) steleman: QMAKE_LIBS_X11SM = -lSM -lICE
(21:12:39) steleman: QMAKE_LIBS_NIS = -lxnet -lresolv -lnsl
(21:12:47) steleman: QMAKE_LIBS_OPENGL = -lGLU -lGL -lGLw -lXmu
(21:12:54) steleman: QMAKE_LIBS_OPENGL_QT = -lGL -lXmu
(21:13:11) steleman: QMAKE_LIBS_THREAD = -lc -lpthread -lrt
(21:13:19) steleman: QMAKE_LIBS_NETWORK = -lc -lresolv -lsocket -lxnet
(21:14:02) steleman: QMAKE_AR = $$QMAKE_CXX -xar $(CXXFLAGS)
(21:14:29) monzie: done
(21:14:33) steleman: QMAKE_LINK = $$QMAKE_CXX
(21:14:55) steleman: QMAKE_LINK_SHLIB = $$QMAKE_CXX $(CXXFLAGS) $(LDFLAGS)
(21:16:21) monzie: done
(21:16:38) steleman: ok
(21:16:54) steleman: so now i think you should give it a try
(21:17:50) monzie: i'm putting my qmake.conf in a pastebin
(21:17:54) steleman: ok
(21:17:55) monzie: http://pastebin.ca/493044
(21:18:01) monzie: could you please have a look at it?
(21:18:07) steleman: yah lemme look
(21:19:33) steleman: this looks good
(21:19:36) monzie: cool
(21:19:41) steleman: what are your CPPFLAGS ?
(21:19:42) monzie: now what. a simple ./configure..
(21:19:43) steleman: and LDFLAGS ?
(21:19:57) steleman: oh it needs help ./configure
(21:19:59) steleman: hold on
(21:20:00) monzie: hmm
(21:20:12) monzie: i have not touch the CPPFLAGS and LDFLAGS
(21:20:17) monzie: *touched*
(21:20:20) steleman: ./configure -prefix /opt/qt-4.2.2-32 -translationdir /opt/qt-4.2.2-32/translations -release -shared -qt-gif -system-zlib -no-fast -largefile -exceptions -accessibility -stl -sql-mysql -plugin-sql-odbc -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-pgsql -qt3support -platform solaris-cc -D_REENTRANT -I/usr/gnu/pgsql815/include -I/usr/gnu/mysql5/include/mysql -I/usr/gnu/mysql5/include -I/usr/gnu/sqlite3/include
(21:20:21) steleman: -I/usr/gnu/krb5/include -I/usr/gnu/include/ncursesw -I/usr/gnu/include/freetype2 -I/usr/gnu/include/fontconfig -I/usr/gnu/include -I/usr/sfw/include -I/usr/X11R6/include -I/usr/openwin/include -I/usr/dt/include -I/opt/Forte-11.0/SUNWspro/prod/include/CC -I/opt/Forte-11.0/SUNWspro/prod/include/CC/Cstd -L/usr/openwin/lib -L/usr/X11/lib -L/usr/dt/lib -L/usr/gnu/pgsql815/lib -L/usr/gnu/mysql5/lib/mysql
(21:20:21) steleman: -L/usr/gnu/mysql5/lib -L/usr/gnu/sqlite3/lib -L/usr/gnu/krb5/lib -L/usr/gnu/lib -L/usr/sfw/lib -L/usr/ccs/lib -L/usr/X11/lib -L/usr/openwin/lib -L/usr/dt/lib -L/usr/lib -stl -freetype -plugin-sql-odbc -plugin-sql-psql -plugin-sql-mysql -plugin-sql-sqlite -nis -cups -stl -iconv -qdbus -system-libpng -system-libjpeg -system-libmng -system-zlib -system-nas-sound -sm -xshape -xrandr -xrender -xinerama -fontconfig -xkb
(21:20:25) steleman: -opengl -no-glib -make libs -make tools -make examples -v -continue
(21:20:29) monzie: boy!
(21:20:38) steleman: the /usr/gnu stuff is just mine
(21:20:42) steleman: so you can remove it completely
(21:20:53) monzie: i have no /usr/gnu!
(21:20:58) steleman: yeah i know you don't
(21:21:00) steleman: these are my builds
(21:21:12) steleman: hold on ill clean it up and paste a clean one
(21:21:14) monzie: ok
(21:21:39) steleman: where are you installing it ?
(21:21:43) monzie: hmm
(21:21:49) steleman: /opt/qt4 ?
(21:21:56) monzie: i dont mind installing it system wide
(21:21:57) monzie: hmm
(21:21:58) steleman: or something /opt/qt422 ?
No such command.
(21:22:13) monzie: /opt/qt422 should be fine
(21:22:22) steleman: okies
(21:22:36) monzie: i dont have
(21:22:40) monzie: an /opt/Forte as well
(21:22:49) steleman: yours is in /opt/SUNWspro ?
(21:23:10) monzie: yeah, i have /opt/SUNWspro
(21:23:38) monzie: if it helps, this is contents os /opt/SUNWspro
(21:23:39) monzie: READMEs contrib examples inventory man sfw
(21:23:39) monzie: bin docs include lib prod system
(21:23:44) monzie: *of*
(21:23:52) steleman: yah
(21:23:54) steleman: that's it
(21:23:56) steleman: ok
(21:26:00) steleman: did you compile dbus ?
(21:26:09) monzie: there is dbus in my system
(21:26:14) steleman: ok
(21:26:17) monzie: i have gnome running, which uses dbus
(21:26:31) monzie: the one that came with SXDE
(21:26:56) monzie: i did not install dbus and compile it myself.. if that is what you mean
(21:27:08) steleman: oh thats ok
(21:27:12) monzie: bash-3.00$ dbus-launch --version
(21:27:12) monzie: D-BUS Message Bus Launcher 0.62
(21:27:12) monzie: Copyright (C) 2003 Red Hat, Inc.
(21:27:12) monzie: This is free software; see the source for copying conditions.
(21:27:12) monzie: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(21:27:13) steleman: as long as there is one
(21:27:20) steleman: ok
(21:27:24) steleman: i hope it's not too old :-)
(21:27:45) monzie: it does " FITNESS FOR A PARTICULAR PURPOSE." :p
(21:27:53) monzie: *it does say*
(21:28:04) steleman: dbus goes to the gym ?
(21:28:10) monzie: lol
(21:28:13) steleman: ./configure -prefix /opt/qt422 -translationdir /opt/qt422/translations -release -shared -qt-gif -system-zlib -no-fast -largefile -exceptions -accessibility -stl -sql-mysql -plugin-sql-odbc -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-pgsql -qt3support -platform solaris-cc -D_REENTRANT -I/usr/sfw/include -I/usr/include/pgsql -I/usr/X11/include/NVIDIA -I/usr/X11R6/include -I/usr/openwin/include -I/usr/dt/include
(21:28:14) steleman: -I/opt/SUNWspro/prod/include/CC -I/opt/SUNWspro/prod/include/CC/Cstd -L/usr/openwin/lib -L/usr/X11/lib -L/usr/dt/lib -L/usr/sfw/lib -L/usr/ccs/lib -L/usr/X11/lib/NVIDIA -L/usr/X11/lib -L/usr/openwin/lib -L/usr/dt/lib -L/usr/lib -stl -freetype -plugin-sql-odbc -plugin-sql-psql -nis -stl -iconv -qdbus -system-libpng -system-libjpeg -system-libmng -system-zlib -sm -xshape -xrandr -xrender -xinerama -fontconfig -xkb
(21:28:14) steleman: -opengl -glib -make libs -make tools -make examples -v -continue
(21:28:16) steleman: there
(21:28:19) monzie: ok
(21:28:22) steleman: this one should work
(21:30:35) monzie: one min please
(21:30:43) steleman: sure
(21:31:50) monzie: put it in a shell script
(21:32:10) steleman: yeah i do that too :_)
(21:32:17) monzie: some errors have come
(21:32:30) steleman: oh like what
(21:32:45) steleman: it can't find mysql and cups ?
(21:32:46) steleman: that's ok
(21:32:51) steleman: they don't exist
(21:32:56) monzie: CC: Warning: -xO4 or above is needed for -xipo; -xipo ignored.
(21:32:56) monzie: CC: Optimization level must be >= 3 with -xprefetch_auto_type=indirect_array_access
(21:32:56) monzie: *** Error code 1
(21:32:56) monzie: make: Fatal error: Command failed for target `cups.o'
(21:32:56) monzie: Cups disabled.
(21:33:05) steleman: oh crap
(21:33:11) monzie: CC: Warning: -xO4 or above is needed for -xipo; -xipo ignored.
(21:33:11) monzie: CC: Optimization level must be >= 3 with -xprefetch_auto_type=indirect_array_access
(21:33:11) monzie: *** Error code 1
(21:33:11) monzie: make: Fatal error: Command failed for target `odbc.o'
(21:33:11) monzie: ODBC disabled.
(21:33:17) steleman: change -xipo=1 to -xipo=0 in qmake.conf
(21:33:31) steleman: oh yah you don't have unixODBC and cups
(21:33:35) steleman: so it can't find them
(21:33:45) steleman: it's only a warning
(21:33:47) steleman: about -xipo
(21:34:14) monzie: hmm
(21:34:30) monzie: changed xipo
(21:34:38) steleman: ok
(21:34:40) monzie: what should i do about unixODBC and cups?
(21:34:44) steleman: now it shouldn't complain about xipo
(21:34:48) steleman: oh you have to build those :-(
(21:34:54) monzie: oops!
(21:34:57) steleman: yeah
(21:35:12) monzie: i cant do without em? will it not build sqlite otherwise?
(21:35:23) steleman: do you have sqlite3 ?
(21:35:29) steleman: i dont think it's in solaris
(21:35:29) monzie: dont know
(21:35:37) steleman: im pretty sure it isnt
(21:35:41) monzie: hmm
(21:35:43) monzie: what should i do..
(21:35:47) steleman: well
(21:35:48) monzie: get it from blastwave?
(21:35:52) monzie: build it myself?
(21:36:00) steleman: i always build myself'
(21:36:06) monzie: hmm
(21:36:15) steleman: blastwave might drag in another 1000 packages :-)
(21:36:35) monzie: yeah
(21:36:47) monzie: i dont like blastwave's approach, even though i am a newbie
(21:36:52) steleman: yeah i know
(21:37:10) monzie: steleman: they have a solaris 8 pkg .. should i use that?
(21:37:20) steleman: personally i think it would be a good exericise to build them
(21:37:23) steleman: they are ok
(21:37:25) steleman: their packages
(21:37:30) monzie: oops, it's for sparc
(21:37:34) steleman: oh
(21:37:43) steleman: sqlite3 is not difficult to build
(21:37:49) steleman: cups is a litle tricky and so is odbc
(21:37:53) steleman: but it's a good exercise
(21:38:11) monzie: ok
(21:38:41) steleman: 3 important things about running ./configure on Solaris:
(21:38:48) steleman: 1. change #!/bin/sh to #!/bin/bash
(21:39:06) steleman: 2. setenv CONFIG_SHELL "/bin/bash"
(21:39:10) monzie: ok
(21:39:32) steleman: 3. set your environment variables for CC CXX CFLAGS CXXFLAGS CPPFLAGS and LDFLAGS
(21:39:33) monzie: these tips are for any ./configure or only for qt?
(21:39:38) steleman: any configure
(21:39:42) monzie: ok
(21:39:48) steleman: because ./configure thinks /bin/sh == /bin/bash
(21:39:52) monzie: ok
(21:39:56) steleman: but in Solaris /bin/sh == /bin/sh (written in 1783)
(21:40:07) monzie: haha :)
(21:40:27) monzie: and i should use sun cc to build all of them, right ?
(21:40:31) steleman: yah
(21:40:34) monzie: ok
(21:40:42) steleman: sqlite3 and cups build fine with sun cc
(21:40:58) steleman: mysql on the other hand is a major pain
(21:41:04) steleman: that one you could actually download from mysql
(21:41:10) monzie: do i have to do any of the steleman-magic with them .. or should they just build ?
(21:41:26) steleman: nah you have to do a little monzie magic :-)
(21:41:45) monzie: but the presentation that comes with SXDE proudly says that MySQL uses SunStudio 11
(21:41:50) steleman: not much
(21:42:05) steleman: ohh so you already have it
(21:42:06) steleman: good
(21:42:08) monzie: the presentaion is at file:///usr/share/doc/soldevex/html/content/SunStudio_11/DEMO/sun_studio_demo.html
(21:42:17) steleman: it's in /opt/CoolStack ?
(21:42:35) monzie: it's big flash demo.
(21:42:54) steleman: oh
(21:42:57) steleman: look in /opt/coolstack
(21:43:01) steleman: do you have anything there
(21:43:08) steleman: yes it is built with Studio 11
(21:43:11) steleman: MySQL
(21:43:13) monzie: no coolstack dir
(21:43:19) steleman: but MySQL in general is difficult to build
(21:43:23) steleman: oh so you dont have it
(21:43:29) monzie: no , i dont
(21:43:38) steleman: download it
(21:43:40) steleman: hold on
(21:43:48) steleman: ill paste the URL
(21:43:53) monzie: i dont know why, i really want to learn building stuff on solaris.. i like it cause it's difficult
(21:44:30) monzie: i started using linux in 98.. things used to be so stuff.. it took me a couple of months to get X working on my mac (had virtual pc running on it!)
(21:45:17) monzie: solaris presents a new challenge.. also Venky (i think you know him) sits very near to my cubicle..so that's very cool.. i bother him all the time with doubts
(21:46:06) monzie: me Moinak at the BOSUG meet.. was wonderful meeting him.. in general Solaris folks know lots of stuff
(21:46:10) monzie: *met*
(21:46:35) steleman: yah i know Venky
(21:46:48) steleman: i sort of know Moinak too (from email only
(21:46:52) steleman: ive never met him in person
(21:46:56) steleman: ok
(21:47:07) monzie: yeah, they work on Belenix
(21:47:23) monzie: though i'm easily the kid in BOSUG meets
(21:47:33) monzie: they're all 35 plus.. i'm 23!
(21:47:34) steleman: http://cooltools.sunsource.net/index.html
(21:47:38) monzie: but they still teach me a lot
(21:47:47) steleman: this is the best way to learn
(21:47:55) steleman: tha'ts how i learned
(21:47:59) monzie: :)
(21:48:06) steleman: hanging out with senior people
(21:48:13) steleman: so there's CoolStack in there
(21:48:18) steleman: which has MySQL
(21:48:21) monzie: hmm
(21:48:27) monzie: the page is still opening in my browser..
(21:48:29) steleman: and that one is built with Studio 11 and it works
(21:48:36) steleman: yeah its very slow today
(21:48:43) steleman: that's why it took me so long to paste it :-)
(21:48:56) monzie: it's all sparc related though
(21:50:01) steleman: oh nono
(21:50:07) steleman: CoolStack has x86 packages as well
(21:50:29) monzie: steleman: i'll let you on a secret
(21:50:36) steleman: what
(21:50:39) steleman: *do* tell :-D
(21:50:43) monzie: hehe
(21:50:48) monzie: it's coincidence
(21:50:52) monzie: that the company i work for
(21:50:57) monzie: delivers opensource stacks
(21:50:59) monzie: on linux
(21:51:03) steleman: i know
(21:51:06) steleman: SpikeSource
(21:51:10) monzie: and i've been making a case of running it on lxzones
(21:51:16) monzie: finally some are listening
(21:51:25) steleman: yah ?
(21:51:36) monzie: *some* :)
(21:52:00) monzie: for sometime i even put SXDE on my laptop.. i want to port our build infrastructure to Solairs
(21:52:04) monzie: solaris
(21:52:23) monzie: the guys at gentoo ported portage to solaris
(21:52:28) steleman: yah i know
(21:52:35) monzie: our build system is based on it!
(21:52:41) steleman: your company could make quite a bit of money with Solaris
(21:52:53) steleman: because noone really has something for Solaris
(21:53:15) monzie: steleman: this is what i work on.
(21:53:19) steleman: but it's an investment in the beginning
(21:53:23) steleman: oh kewl :-D
(21:53:23) monzie: and i'm the only developer working on this
(21:53:24) monzie: http://spikesource.com/solutions/alfrescocms.html
(21:53:44) monzie: if i tell you anything more, i can be fired :D
(21:54:01) steleman: oh kewl :-D
(21:54:03) steleman: yah dont tell me
(21:54:11) steleman: and besides, you never told me anything
(21:54:14) steleman: :-)
(21:54:15) monzie: hehe
(21:54:35) monzie: all that i told you, i am allowed to tell.. so nothing wrong in that :)
(21:54:41) steleman: ok
(21:54:46) steleman: i knew about SpikeSource
(21:54:50) monzie: oh
(21:54:54) monzie: you work in Sun right?
(21:54:58) steleman: yah
(21:55:07) monzie: you work on stacks ? :)
(21:55:10) steleman: oh i knew about spikesource before
(21:55:16) steleman: i work on a bunch of things
(21:55:19) monzie: oh cool
(21:55:30) steleman: web stack, open source, drivers,
(21:55:35) monzie: coooool
(21:55:41) steleman: things might change :-)
(21:55:47) steleman: you never know
(21:55:52) monzie: someday, when i am really good enough, i will join Sun. that' definitely a career aim
(21:56:00) steleman: good plan
(21:56:01) monzie: or apply
(21:56:09) steleman: try to get an internship
(21:56:12) monzie: hehe.. you getting promoted
(21:56:17) steleman: that's how you get to meet people
(21:56:20) steleman: nah i wont get promoted
(21:56:21) steleman: lol
(21:56:36) monzie: steleman: i cant do that.. in India Sun has internships only for some specific college graduates
(21:56:46) steleman: ohhhhh
(21:57:41) steleman: bummer
(21:58:31) monzie: yup
(21:58:41) monzie: Venky was in Sun for 10 years
(21:58:57) monzie: the BOSUG meets are held at the Sun office here.. i loved the office.. so geeky!
(21:59:00) steleman: most people stay at Sun a very long time
(21:59:10) monzie: they've huge 17inch monitors.. dual head..all of them
(21:59:20) monzie: SPARC boxes.
(21:59:22) monzie: lovely :)
(21:59:42) steleman: hehe
(21:59:56) steleman: so you're going to build sqlite3 and cups ?
(21:59:59) steleman: and odbc ?
(21:59:59) monzie: yup
(22:00:01) monzie: i am
(22:00:11) steleman: okies
(22:00:17) monzie: i'll just get done with dinner.. and then i'll build it.
(22:00:17) steleman: unfortunately i gotta run i have a con call in 10 minutes
(22:00:21) steleman: okies
(22:00:32) steleman: ill be back here in about 2 hours
(22:00:35) steleman: i'm always here
(22:00:37) steleman: :-)
(22:00:45) monzie: yup. it'll be 1200 am in 2 hours!
(22:00:46) steleman: so just type to me ok ?
(22:00:49) monzie: i'll try to be here
(22:00:50) steleman: oh i forget
(22:00:59) monzie: and thank you so much for helping me out. greatly appreciated
(22:01:02) steleman: just type to me ok dont be shy
(22:01:08) steleman: no problem anytime
(22:01:09) monzie: and please keep the help coming. :)
(22:01:15) steleman: oh definitely
(22:01:16) monzie: sure, i'll bother you :)
(22:01:21) steleman: you dont bother me :-)
(22:01:39) steleman: talk to you later
(22:01:41) steleman: ta-ta :-)
(22:01:43) monzie: yup
(22:01:45) monzie: bye