 |
 |
Koffice os x build help
|
 |
|
 |
|
Junior Member
Join Date: Jul 2003
Location: Redlands
Status:
Offline
|
|
Hi all,
I'm new to trying things with unix and wanted to test out koffice. I sucessfully installed the developer tools from apple and Darwinports with the update. Next I ran a sudo port install koffice and here's what happened:
"---> Building koffice with target all
Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_kde_koffice/work/koffice-1.5.0-rc1 && ./CompileScript.sh" returned error 1
Command output: ld: warning multiple definitions of symbol __ZN13KProtocolInfo15isKnownProtocolERK7QString
/opt/local/lib/libkdecore.dylib(single module) definition of __ZN13KProtocolInfo15isKnownProtocolERK7QString
/opt/local/lib/libkio.dylib(single module) definition of __ZN13KProtocolInfo15isKnownProtocolERK7QString
ld: warning multiple definitions of symbol __ZN13KProtocolInfo16isFilterProtocolERK7QString
/opt/local/lib/libkdecore.dylib(single module) definition of __ZN13KProtocolInfo16isFilterProtocolERK7QString
/opt/local/lib/libkio.dylib(single module) definition of __ZN13KProtocolInfo16isFilterProtocolERK7QString
ld: warning multiple definitions of symbol __ZN13KProtocolInfo16isHelperProtocolERK7QString
/opt/local/lib/libkdecore.dylib(single module) definition of __ZN13KProtocolInfo16isHelperProtocolERK7QString
/opt/local/lib/libkio.dylib(single module) definition of __ZN13KProtocolInfo16isHelperProtocolERK7QString
ld: Undefined symbols:
_XCreateGC
_XFreeGC
_XScreenOfDisplay
_XAllocColor
_XAllocColorCells
_XCreateColormap
_XCreateImage
_XFlush
_XFree
_XFreeColors
_XGetVisualInfo
_XGetWindowAttributes
_XPutImage
_XQueryColors
_XScreenNumberOfScreen
_XSetBackground
_XSetForeground
/usr/bin/libtool: internal link edit command failed
Error creating ./karbon/libkarboncommon.la. Exit status 1.
koffice-1.5.0-0 make-build failed!
Error: /opt/local/bin/port: Status 1 encountered during processing."
Do I need to install something else, or what do I do to fix this? Any help would be greatly appreciated. Thanks!
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
It looks like you need to install the X11 support with the dev tools.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Jul 2003
Location: Redlands
Status:
Offline
|
|
Well, I tried installing the developer tools again and got the same result. Is there a seperate install for the x11 tools? I have the most recent version of xcode and x11 already installed.
Thanks
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
I think the X11 SDK is a custom install option with the dev tools. That's my recollection.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Jul 2003
Location: Redlands
Status:
Offline
|
|
Thank you for your help, but this did not solve the problem. I still get the same error. Any other suggestions?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Dec 2005
Location: Australia
Status:
Offline
|
|
Originally Posted by pbook28
Thank you for your help, but this did not solve the problem. I still get the same error. Any other suggestions?
Welcome to the frustrating world of X11 : )
I would like a cent for every time I have had such error messages. It's happened to me again within the past half hour. Basically, X11 is very finicky, compared to installing a mac-native [aqua] program. If you don't have a program that is needed for the new program to run on top of, the whole process will just stop and give you such a cryptic message. These pre-requesite programs are called dependecies [I think - CMIIW]
All you can do is keep trying new ways of getting the system to do what you want it to do. I'd suggest you try installing something a little simpler than koffice, which has a lot of dependencies, until you work it out. I have quite a comprehensive environment in X11, established with lots of failures and error messages, but I'm still having problems trying to install the latest koffice.
Good luck: it's a little masochistic, but an interesting challenge.
Peter
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
Check the library path used by the makefile and make sure it includes the real position for the X11 libraries. If it doesn't, either add the actual library path to path used by the makefile or make a symlink between where the makefile thinks the libs are and where they really.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2006
Status:
Offline
|
|
Originally Posted by pbook28
Hi all,
I'm new to trying things with unix and wanted to test out koffice. I sucessfully installed the developer tools from apple and Darwinports with the update. Next I ran a sudo port install koffice and here's what happened:
"---> Building koffice with target all
Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_kde_koffice/work/koffice-1.5.0-rc1 && ./CompileScript.sh" returned error 1
Command output: ld: warning multiple definitions of symbol __ZN13KProtocolInfo15isKnownProtocolERK7QString
/opt/local/lib/libkdecore.dylib(single module) definition of __ZN13KProtocolInfo15isKnownProtocolERK7QString
/opt/local/lib/libkio.dylib(single module) definition of __ZN13KProtocolInfo15isKnownProtocolERK7QString
ld: warning multiple definitions of symbol __ZN13KProtocolInfo16isFilterProtocolERK7QString
/opt/local/lib/libkdecore.dylib(single module) definition of __ZN13KProtocolInfo16isFilterProtocolERK7QString
/opt/local/lib/libkio.dylib(single module) definition of __ZN13KProtocolInfo16isFilterProtocolERK7QString
ld: warning multiple definitions of symbol __ZN13KProtocolInfo16isHelperProtocolERK7QString
/opt/local/lib/libkdecore.dylib(single module) definition of __ZN13KProtocolInfo16isHelperProtocolERK7QString
/opt/local/lib/libkio.dylib(single module) definition of __ZN13KProtocolInfo16isHelperProtocolERK7QString
ld: Undefined symbols:
_XCreateGC
_XFreeGC
_XScreenOfDisplay
_XAllocColor
_XAllocColorCells
_XCreateColormap
_XCreateImage
_XFlush
_XFree
_XFreeColors
_XGetVisualInfo
_XGetWindowAttributes
_XPutImage
_XQueryColors
_XScreenNumberOfScreen
_XSetBackground
_XSetForeground
/usr/bin/libtool: internal link edit command failed
Error creating ./karbon/libkarboncommon.la. Exit status 1.
koffice-1.5.0-0 make-build failed!
Error: /opt/local/bin/port: Status 1 encountered during processing."
Do I need to install something else, or what do I do to fix this? Any help would be greatly appreciated. Thanks!
After pulling my hair out on this one, I finally got it to build by changing one of the make files.
cd here:
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_kde_koffice/work/koffice-1.5.0-rc1/karbon
sudo vi Makefile.am
add a \
at the end of this line:
$(LIBFREETYPE_LIBS)
and add this at the end:
$(LIB_X11)
so the last 4 lines of this particular code block looks looks like this:
$(LIBFONTCONFIG_LIBS) \
$(LIBMAGICK_LIBS) \
$(LIBFREETYPE_LIBS) \
$(LIB_X11)
That fixed it for me. Running on a MacBook pro.. 10.4.6
Hope that helps someone out there.
(Last edited by super_collider; May 14, 2006 at 08:46 PM.
)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|