
On 21/11/09 18:00, ~suv wrote:
On 21/11/09 17:23, Wolf Drechsel wrote:
o.k. - I went back to the very beginning, using a freshly unpacked sources directory.
I copied your autogen.sh to the sources root directory (I dont think it will work in the src dir) and did chmod 755.
Sorry, I made a mistake - you are correct, it belongs in the inkscape root directory of the unpacked sources.
Puzzled by the seemingly missing 'autogen.sh' I went searching for answers and discovered another mistake I made... *blush* Looking at the autogen.sh file itself rather than patching it reveals:
(...) # If you are compiling from a released tarball you don't need these # tools and you shouldn't use this script. Just call ./configure # directly. (...)
To test this I repeated the now abbreviated 'configure' from before: In a newly unpacked 0.47 source directory:
$ cd packaging/macosx $ cp -p osx-build.sh osx-build.sh.orig $ vim osx-build.sh # setting prefix for MacPorts $ ./osx-build.sh c
and it ran through without errors, returning this configuration:
Configuration:
Source code location: . Destination path prefix: /Volumes/blue/src/Inkscape/0_47/inkscape-0.47/packaging/macosx/../../Build Compiler: g++ CPPFLAGS: -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/Volumes/blue/mp/include CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -Wall CFLAGS: -Wno-pointer-sign -O3 -Wall LDFLAGS: -L/Volumes/blue/mp/lib Use Xft font database: yes Use gnome-vfs: yes Use openoffice files: yes Use MMX optimizations: no Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable Poppler-Cairo: yes ImageMagick Magick++: yes Libwpg: yes
so you don't need 'autogen.sh' when building from a dist tar file, I didn't know that. But this is the reason why it isn't included (and wasn't in the earlier prerelease source tarballs nor in the 0.46 release source tarball).
~suv (feeling bad :( because my instructions again turned out to be wrong)