unable to compile scribus-1.4.0.rc6 in Puppy 5.2.5

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

unable to compile scribus-1.4.0.rc6 in Puppy 5.2.5

#1 Post by Dingo »

Woof Woof!

Finally, after a lot of months, I get a part-time job

I need Scribus with multilingual support (included hyphenation and python scripting)

I started to compile in Puppy 5.2.5, using Qt-4.6.3 (tried also 4.8.0 but unsuccessfully)

first problem was with recognition of Python include dir

Code: Select all

# cmake -DCMAKE_INCLUDE_PATH=/usr/include ..
-- Scribus 1.4.0.rc6 will be built to install into /usr/local
-- Machine: i486-linux-gnu, void pointer size: 4
-- Found target X86
-- Building for target i486-linux-gnu
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
Qt4 Found OK
-- Building without Qt3 Support (GOOD)
ZLIB Library Found OK
Using PNG Library: /usr/lib/libpng.so
PNG Library Found OK
JPEG Library Found OK
TIFF Library Found OK
CMake Error at /share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Could NOT find PythonLibs (missing: PYTHON_INCLUDE_PATH)
Call Stack (most recent call first):
/share/cmake-2.6/Modules/FindPythonLibs.cmake:86 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:537 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
not having time to further investigate, I edited cmake.lists to avoid to call python

this time compilation started, but, at 77% when gcc was ready to link executables, I get this very long error message:

http://paste2.org/p/1844434

any suggestion to identify problem and solve?
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi Dingo

can't help with the compiling, but this portable scribus seems to work on lupu. Don't know if it has all the multilingual stuff included, but worth a try http://sourceforge.net/projects/portabl ... 0/download

666philb
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

collect2: ld returned 1 exit status
the ld command is looking in the defined libraries for declarations like
gss_import_name
if the library is not found OR the declaration was not compiled into the current library for not enabled at the compile time ,like --without-gss, of the library OR just not implemented into the code of the library-version
ld cannot put a tag into the output file .

The manpage of ld is rather long .

ld belongs to the "binutils" package together with better known binaries like strip and strings .

The binutils source compiles fine
as i am trying to find out to get grub legacy to compile for debian based pups
may have problems with grub legacy by debian for ext4 partitions .

Myself i am stuck at /usr/bin/objcopy not working as configure script for grub wants it to work .

Could not make it to work until today , even cp the racy522 objcopy to dpup . The same grub source compiled ok on racy522 .

The manpage of ld claims that there are some CFLAGS for get work finished and traced like

-Wl,
--unresolved-symbols=method [ignore-all ignore-in-shared-libs]
--verbose[=NUMBER] to see where the probs occure precisely
--warn-unresolved-symbol This option makes it generate a warning instead of an error
--disable-stdcall-fixup it will attempt
to do "fuzzy linking" by looking for another defined symbol that
differs only in the format of the symbol name (cdecl vs stdcall)
and will resolve that symbol by linking to the match
--export-all-symbols
--enable-auto-import
--print-map Print a link map to the standard output
--trace Print the names of the input files as ld processes them

You would likely need to recompile the needed libraries or try some of the above flags to create the binaries possibly not working in some functions .

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#4 Post by scsijon »

Karl, have a look at the LD thread I put in programming and especially Jemimahs answer, it may be the same problem I am having, I'm going to have a go at a later as well as rebuilding the current.

regards
scsijon

Post Reply