On 04 Mar 2006, at 21:15, Andrius Ramanauskas wrote:
I tried to build Inkscape on Mac OS X 10.4, did everything as described on wiki, it seems as everything succeed, but I get an error "You cannot open the application Inkscape.app because it may be damaged or incomplete" while running .app file. Maybe anyone has run into similar problems and knows a quick solution?
I did not have problems with the latest svn. everything went fine. a new build is on the web site, in the development build section.
From: "Ben Fowler" <ben.the.mole@...400...> On 3/6/06, Andrius Ramanauskas <knutux@...400...> wrote:
I have already found out that /MacOS/Inkscape file is missing in Inkscape.app, and copying this file from installed Inkscape.app (0.43) helps.
The file you want should be on the path src/inkscape . (See previous). Whilst your approach eliminates one source of errors, I can't conceive how a successful build could fail to produce an executable.
actually I think that the Inkscape in MacOS is not inkscape executable (its in Resources/bin/inkscape-bin). this one is the one created by the bundling script, so your problem is probably not with inkscape compilation but rather with how the script handles your compilation products. that is why every thing seemed ok at compilation time.
(You are using the same compiler as you used for Fink? If not your project will not link - this is noted on the wiki page. You can find details in previous posts to this list and/or the bug tracker).
indeed you probably need to use export CC="gcc-3.3" export CXX="g++-3.3" what system are you running? which fink version? which compiler for fink? how old is your fink install? you might also need: export ac_cv_lib_intl_dgettext="yes" I cannot remember where this comes from but it seems necessary.
Anyway, this is my building script which works, modify the paths to fit your computer: ############################ #!/bin/bash
# Update from svn svn update
# Export fink variables FINK="/sw" export LIBRARY_PATH="/usr/X11R6/lib:$FINK/lib" export CPATH="$FINK/include" export PATH="/usr/X11R6/bin:$PATH" #export CC="gcc" export CC="gcc-3.3" #export CXX="g++" export CXX="g++-3.3" export CFLAGS="-I$FINK/include -O3 -Wall" export LDFLAGS="-L$FINK/lib" export CXXFLAGS="$CFLAGS" export CPPFLAGS="$CXXFLAGS" export ac_cv_lib_intl_dgettext="yes"
# Configure and make ./autogen.sh ./configure --enable-osxapp --enable-inkboard --prefix=/Volumes/files/ softwares/inkscape_compiled/ make make install
# Packaging cd packaging chmod +x osx-app.sh rm -Rf Inkscape.app Inkscape.dmg ./osx-app.sh -s /Volumes/files/softwares/inkscape_compiled/bin/ inkscape ../Info.plist macosx open . ############################
hope that helps.
JiHO --- Windows, c'est un peu comme le beaujolais nouveau : a chaque nouvelle cuvee on sait que ce sera degueulasse, mais on en prend quand meme par masochisme. --- http://jo.irisson.free.fr/