[kde-solaris] solaris 3.1.2 packages
KarstenKünne
kuenne at rentec.com
Thu May 29 15:03:55 CEST 2003
On Thursday 29 May 2003 13:04, Bob Meader wrote:
> I have set a solaris 3.1.2 packages compiled on Solaris 8 with gcc3.2 ready
> for testing/download at
> ftp://guiduck.com/incoming/kde/solaris/3.1.2 . You need
> to a least install QTfree,KDEreq,KDEbase,KDElibs and arts to
> have a working KDE 3.1.2. I should mention I am over
> my storage limit so I will have to 'drop' the packages
> after several days...Would someone please step and
> mirror ?
>
> I have been trying to build koffice beta 1.3, got a link error message
> during building sql drivers of missing calls. The missing
> items are standard "socket" calls bind,socket,etc. I didn't
> install a supported Datbase engine/library such as mysql
> when I configured koffice-beta. I am wondering do I need
> to install a supported sql platform first before I can build
> koffice beta ?
>
I believe I had the same error. One of the Makefiles in kexi doesn't include
-lsocket on the link line. Following is a small patch which fixed it for me:
--- ./kexi/kexiDB/drivers/cql/cql/sql/Makefile.in.orig Wed May 28 14:10:19
2003
+++ ./kexi/kexiDB/drivers/cql/cql/sql/Makefile.in Wed May 28 14:11:21
2003
@@ -308,11 +308,11 @@
Columns.cpp CqlFlexScanner.cpp CqlSqlBisonParser.cpp CqlSqlGlobal.cpp
Cursor.cpp Dictionaries.cpp CqlMetadata.cpp Elements.cpp Expression.cpp
-libcql_la_LIBADD = ../common/libcqlcommon.la ../isam/libcqlisam.la
+libcql_la_LIBADD = ../common/libcqlcommon.la ../isam/libcqlisam.la
$(LIBSOCKET)
bin_PROGRAMS = cqli
cqli_SOURCES = Interpreter.cpp
-cqli_LDADD = ../common/libcqlcommon.la ../isam/libcqlisam.la libcql.la
+cqli_LDADD = ../common/libcqlcommon.la ../isam/libcqlisam.la libcql.la
$(LIBSOCKET)
subdir = kexi/kexiDB/drivers/cql/cql/sql
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
And while you are at it, there is another Solaris incompatibility in kexi.
Solaris doesn't have mkdtemp, so I replaced it with the following:
--- ./kexi/plugins/kugar/kexitempdir.cpp.orig Wed May 28 15:00:28 2003
+++ ./kexi/plugins/kugar/kexitempdir.cpp Wed May 28 15:03:06 2003
@@ -74,7 +74,8 @@
QCString nme = QFile::encodeName(directoryPrefix) + "XXXXXX";
char *realName;
- if((realName=mkdtemp(nme.data())) == 0)
+ realName=mktemp(nme.data());
+ if(mkdir(realName, 0700) != 0)
{
// Recreate it for the warning, mkdtemps emptied it
QCString nme = QFile::encodeName(directoryPrefix) + "XXXXXX";
But I'm not sure whether this is the correct fix (it should probably be
ifdef'd for __sun or so). I haven't tried kexi yet so I don't know whether it
works at all on Solaris.
--
Karsten.
"only wimps use backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)" - linus torvalds
More information about the kde-solaris
mailing list