![]() |
|
![]() |
![]() |
|
||
| · Hosting provided by Anduin.net / Øverby Consulting · | ||||||
| Anonymous | Login | Signup for a new account | 2013-06-20 09:42 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0009556 | Scribus | Build System | public | 10-Dec-05 11:57 | 12-Jun-24 18:23 | ||||
| Reporter | Yofel | ||||||||
| Assigned To | jghali | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | Linux | OS | Ubuntu | OS Version | 11.04 | ||||
| Product Version | 1.5.0svn | ||||||||
| Target Version | Fixed in Version | 1.4.2.svn | |||||||
| Summary | 0009556: gcc changes in natty make scribus fail to build | ||||||||
| Description | Trying to build scribus in natty ends with: Linking CXX executable scribus-trunk /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/libGraphicsMagick.so: undefined reference to symbol 'cmsCreateTransform' /usr/bin/ld: note: 'cmsCreateTransform' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/liblcms.so so try adding it to the linker command line /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/liblcms.so: could not read symbols: Invalid operation This should be the result of https://lists.ubuntu.com/archives/ubuntu-devel-announce/2010-October/000772.html [^] It seems that reordering the LCMS linking fixes it: === modified file 'scribus/CMakeLists.txt' --- scribus/CMakeLists.txt 2010-11-27 15:45:40 +0000 +++ scribus/CMakeLists.txt 2010-12-05 05:15:04 +0000 @@ -1002,7 +1002,6 @@ ${CUPS_LIBRARIES} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} - ${LCMS_LIBRARIES} ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES} ${TIFF_LIBRARIES} @@ -1043,6 +1042,11 @@ ${SCRIBUS_PGF_LIB} ) +# Move down here to fix link failure +TARGET_LINK_LIBRARIES(${EXE_NAME} + ${LCMS_LIBRARIES} +) + IF(HAVE_PODOFO) TARGET_LINK_LIBRARIES(${EXE_NAME} ${LIBPODOFO_LIBRARY} | ||||||||
| Steps To Reproduce | Try to compile scribus on Ubuntu Natty Narwhal 11.04 | ||||||||
| Additional Information | Full build log: http://launchpadlibrarian.net/60122066/buildlog_ubuntu-natty-amd64.scribus-trunk_1.5.0svn201012050000-12~natty1_FAILEDTOBUILD.txt.gz [^] | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
Notes |
|
|
(0024983) Yofel (reporter) 10-Dec-05 12:54 |
That only fixes amd64 builds though, i386 additionally fails with: Linking CXX executable scribus-trunk /usr/bin/ld: CMakeFiles/scribus-trunk.dir/ui/moc_AdapterWidget.cxx.o: undefined reference to symbol 'OpenThreads::Atomic::operator--()' /usr/bin/ld: note: 'OpenThreads::Atomic::operator--()' is defined in DSO /usr/lib/libOpenThreads.so.13 so try adding it to the linker command line /usr/lib/libOpenThreads.so.13: could not read symbols: Invalid operation so -lOpenThreads needs to be added to the linker flags too. http://launchpadlibrarian.net/60140266/buildlog_ubuntu-natty-i386.scribus-trunk_1.5.0svn201012051050-13%7Enatty1_FAILEDTOBUILD.txt.gz [^] |
|
(0024986) cbradney (administrator) 10-Dec-05 21:07 |
DOes the lcms lib stuff work if you make it: TARGET_LINK_LIBRARIES(${EXE_NAME} ${SCRIBUS_COLORMGMT_LIB} ${SCRIBUS_DESAXE_LIB} ${SCRIBUS_TEXT_LIB} ${SCRIBUS_STYLES_LIB} ${SCRIBUS_FONTS_LIB} ${SCRIBUS_WPG_LIB} ${SCRIBUS_PGF_LIB} ${LCMS_LIBRARIES} ) ??? |
|
(0024988) Yofel (reporter) 10-Dec-05 22:09 |
It does, and you're right, simpler solution. |
|
(0024990) cbradney (administrator) 10-Dec-05 22:22 |
Ok, moved that line.. however I am not convinced of the libOpenThreads.. I don't think we even use that directly. |
|
(0028289) cbradney (administrator) 12-Jun-24 18:22 |
Resolving, it builds cleanly on 12.04 for sure. Assigning to Jean as lcms/lcms2 are now supported. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 10-Dec-05 11:57 | Yofel | New Issue | |
| 10-Dec-05 12:54 | Yofel | Note Added: 0024983 | |
| 10-Dec-05 21:07 | cbradney | Note Added: 0024986 | |
| 10-Dec-05 22:09 | Yofel | Note Added: 0024988 | |
| 10-Dec-05 22:22 | cbradney | Note Added: 0024990 | |
| 12-Jun-24 18:22 | cbradney | Note Added: 0028289 | |
| 12-Jun-24 18:22 | cbradney | Status | new => resolved |
| 12-Jun-24 18:22 | cbradney | Fixed in Version | => 1.4.2.svn |
| 12-Jun-24 18:22 | cbradney | Resolution | open => fixed |
| 12-Jun-24 18:22 | cbradney | Assigned To | => jghali |
| 12-Jun-24 18:23 | cbradney | Status | resolved => closed |
| Main | My View | View Issues | Change Log | Roadmap |
| Copyright © 2000 - 2013 MantisBT Team |