[OSX] Howto build a Hugin bundle on MacOSX

7 views
Skip to first unread message

Harry van der Wolf

unread,
Aug 12, 2009, 7:54:01 AM8/12/09
to hugi...@googlegroups.com, david.ha...@gmail.com, andrew...@gmail.com, philippe.va...@e-bulles.be, Michael Galloway, Ippei UKAI
Hi all,

I post this mail to the hugin-ptx group but also directly to the group of possible brave volunteers who want to start building a Hugin and PTBatcherGui bundle for MacOSX.
I'm now back from holidays which means that it is at least for me a good time to start this thread.

Off topic: I'm still without mac and after 3½ weeks on Ubuntu linux again (not mentioning my webserver and using it within virtualbox on my mac) I'm still not sure whether I will buy a new Mac. For the absolute ease of use, "connect whatever you want and it works" and great software like the OS itself and iLife: absolutely! The fact that I can buy 2-3 pc laptops for one macbook makes me hesitate. Not for the money itself (I have a nice job with a nice salary), but whether it's worth the money: Why buy an expensive mac if I can do exactly what I want (maybe not exactly how I want it) with a much cheaper laptop. But I'm also still very much tempted so probably I will convince myself that I can't do without.

To come back to building a Hugin bundle: Hugin 0.8.0 has just been released and Ippei was able to create (again) a bundle for MacOSX. So, currently there is no big hurry, which makes it a perfect time to "practice".

I've seen a couple of reactions to my original mail <http://groups.google.com/group/hugin-ptx/t/1a21c7299ee4c17> and some other posts in some other threads. I would like to use this thread as a single posting thread for getting new builders up to standard and to get the status where the current volunteers have succeeded or have stranded. We also might improve the wiki and expand it with some Q&A's and/or "lessons learned".

When we talk about a bundle we talk about the way of building as described in "Build a MacOSX Universal Hugin bundle with Xcode".
This means:
  • XCode build (no cmake, no Macports or Fink except for some basic build tools).
  • Universal 2-architecture 32bit initially, e.g. ppc/i386. The brave can immediately start with 32/64 bit 4-archticture build, but I would not advise so. It creates extra difficulties and you absolutely need Leopard to build 64bit. Furthermore: only enfuse and enblend currently really benefit from 64bit and only on (very) large projects.
  • With or without Ippei's SDK: The SDK makes life much simpler. Going all the way yourself like described in the wiki makes you a better builder with better understanding of the process. It also allows you to adapt easier to changes which will certainly occur when new developments will start again.
Not required but my advise: Let's start with the released hugin-0.8.0 tarball. It is for everyone the same, still very much up-to-date, there are no new SVN changes/developments which might cripple the build and which I can't solve right now (if I ever could), and it's functionality and flaws are (more or less) known.


Please react to this thread if you want "to boldly go where no man has gone before."


Hoi,
Harry

Guido Kohlmeyer

unread,
Aug 12, 2009, 4:01:35 PM8/12/09
to hugi...@googlegroups.com

> /Off topic: I'm still without mac and after 3½ weeks on Ubuntu linux
> again (not mentioning my webserver and using it within virtualbox on
> my mac) I'm still not sure whether I will buy a new Mac. For the
> absolute ease of use, "connect whatever you want and it works" and
> great software like the OS itself and iLife: absolutely! The fact that
> I can buy 2-3 pc laptops for one macbook makes me hesitate. Not for
> the money itself (I have a nice job with a nice salary), but whether
> it's worth the money: Why buy an expensive mac if I can do exactly
> what I want (maybe not exactly how I want it) with a much cheaper
> laptop. But I'm also still very much tempted so probably I will
> convince myself that I can't do without./
>
Off topic comment:
I even mourn my dying laptop and thought about buying a MacBook Pro
although I never used OSX before. I looked for a lightweight solid
long-run laptop with good display resolution. I found a macbook which
fulfill nearly all my requirements. I looked for a similar hardware but
it is not much cheaper. Particular when I take only big manufactures
into acount. Now that a matt display is available for a 15 inch macbook
too, I didn't see any drawbacks. Ok, the trackpoint of my thinkpad was
very ergonomic and I will miss it.

Guido

Michael Galloway

unread,
Aug 13, 2009, 7:32:21 AM8/13/09
to Harry van der Wolf, hugi...@googlegroups.com, david.ha...@gmail.com, andrew...@gmail.com, philippe.va...@e-bulles.be, Michael Galloway, Ippei UKAI
On Wed, Aug 12, 2009 at 01:54:01PM +0200, Harry van der Wolf wrote:
> Hi all,

>
> I've seen a couple of reactions to my original mail <
> http://groups.google.com/group/hugin-ptx/t/1a21c7299ee4c17> and some other
> posts in some other threads. I would like to use this thread as a single
> posting thread for getting new builders up to standard and to get the status
> where the current volunteers have succeeded or have stranded. We also might
> improve the wiki and expand it with some Q&A's and/or "lessons learned".
>

i've been sucessful with your handholding but i've not really had a chance
to experiment with hugin much this summer. i'd like to get back into the
process, but will have to be later in summer/early fall.

i agree that it would be nice if us proto-fishermen were to annotate the
wiki with our experiences regarding the build process.

-- michael

Yuval Levy

unread,
Aug 14, 2009, 8:17:20 PM8/14/09
to hugi...@googlegroups.com
on topic: we have a few GSoC projects coming to maturity and we will
issue a series of incremental releases. this is to avoid the protracted
freeze that bogged us during 0.8.0 because we tried to release too much
at the same time.

this means that we need OSX testers to make sure that what we release
builds.

I am confident that even if our OSX users community is small, it is very
active and forthcoming and will find the resources to test that snapshot
releases build.

The next expected release is 2009.02.0, with the added feature of GPU
stitching and some incremental improvements to the user interface by
Thomas, Gerry, and others.


Guido Kohlmeyer wrote:
> I even mourn my dying laptop and thought about buying a MacBook Pro
> although I never used OSX before. I looked for a lightweight solid
> long-run laptop with good display resolution. I found a macbook which
> fulfill nearly all my requirements. I looked for a similar hardware but
> it is not much cheaper. Particular when I take only big manufactures
> into acount. Now that a matt display is available for a 15 inch macbook
> too, I didn't see any drawbacks. Ok, the trackpoint of my thinkpad was
> very ergonomic and I will miss it.

current generation MacBooks are fantastic. The first time since a long
while that an Apple products convince me that it is worth the price tag.
My only concern is that in a few months it will be obsolete as Apple
will move to a Nehalim based platform, so probably 30% more power (or
more efficiency) for the same price. If the acquisition is not urgent,
I'd wait.

My Thinkpad a20m is still around. By now it is underspecified even
compared with a NetBook. I had my son playing on it and it is rock-solid.

Yuv

Harry van der Wolf

unread,
Sep 13, 2009, 4:00:08 AM9/13/09
to hugi...@googlegroups.com, michael_tn

2009/9/13 michael_tn <michael.d...@gmail.com>
harry, i'm working through the build process again and some of the
external app's will not build, boost, for example:

<snip>

not sure what to do with it at this point.

-- michael


Hi Michael,

Note: I have redirected this mail to the hugin-ptx list to draw attention of potential other builders.

Great that you're working on the Universal XCode build. Boost changed something going from 1.38 (or 1.39) to 1.40. I just applied some changes to trunk and 2009.2.
In case you are working with 0.8 I've attached both scripts to this mail. Please try again.
Note: do not forget to change the myREPOSITORYDIR variable to what it needs to be for you.

Harry
SetEnv-universal.txt
boost.sh

michael_tn

unread,
Sep 13, 2009, 8:52:35 PM9/13/09
to hugin and other free panoramic software


On Sep 13, 4:00 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
> 2009/9/13 michael_tn <michael.d.gallo...@gmail.com>
looks like the boost.sh file got put in with diff syntax in it, i get
this on running the script:

michaeltn:boost_1_40_0 michael$ sh ../scripts/boost.sh
###
### Using 'darwin' toolset.
###
rm -rf bootstrap
mkdir bootstrap
cc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c
hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c
make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c
regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c
modules.c strings.c filesys.c builtins.c pwd.c class.c native.c
w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/
property-set.c modules/sequence.c modules/order.c execunix.c
fileunix.c
./bootstrap/jam0 -f build.jam --toolset=darwin --toolset-root= clean
...found 1 target...
...updating 1 target...
[DELETE] clean
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=darwin --toolset-root=
...found 47 targets...
...updating 1 target...
[COMPILE] bin.macosxx86/bjam
...updated 1 target...
../scripts/boost.sh: line 99: syntax error near unexpected token `<<<'
../scripts/boost.sh: line 99: `<<<<<<< .mine'

and this is in the script:

SDKVRSION=$(echo $MACSDKDIR | sed 's/^[^1]*\([[:digit:]]*\.[[:digit:]]
*\).*/\1/')

<<<<<<< .mine
if [ "$CXX" = "" ]
then
=======
if [ "$CXX" = "" ]
then
>>>>>>> .r4399
boostTOOLSET="--toolset=darwin"

-- michael

michael_tn

unread,
Sep 13, 2009, 10:21:57 PM9/13/09
to hugin and other free panoramic software
On Sep 13, 4:00 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
> 2009/9/13 michael_tn <michael.d.gallo...@gmail.com>
>
> > harry, i'm working through the build process again and some of the
> > external app's will not build, boost, for example:
>
> > <snip>
>
> > not sure what to do with it at this point.
>
> > -- michael
>

boost built, i edited your boost.sh script to:

if [ "$CXX" = "" ]
then
boostTOOLSET="--toolset=darwin"
CXX="g++"
else
echo "using darwin : : $CXX ;" > ./TEMP-userconf.jam
boostTOOLSET="--user-config=./TEMP-userconf.jam"
fi

now with jpeg-7 (cannot find 6.2 source), i get this:

michaeltn:jpeg-7 michael$ sh ../scripts/libjpeg.sh
configure: WARNING: If you wanted to set the --build type, don't use --
host.
If a cross compiler is detected then cross compile mode will be
used.
checking build system type... i686-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin8
checking target system type... powerpc-apple-darwin8
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for powerpc-apple-darwin8-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for powerpc-apple-darwin8-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for function prototypes... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for powerpc-apple-darwin8-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C...
(cached) -std=gnu99
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking if LD -Wl,--version-script works... no
checking for function prototypes... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for string.h... (cached) yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for an ANSI C-conforming const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/libexec/gcc/i686-apple-
darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)
is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... no
checking for powerpc-apple-darwin8-dumpbin... no
checking for powerpc-apple-darwin8-link... no
checking for dumpbin... no
checking for link... link -dump -symbols
checking the name lister (link -dump -symbols) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to
reload object files... -r
checking for powerpc-apple-darwin8-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for powerpc-apple-darwin8-ar... no
checking for ar... ar
checking for powerpc-apple-darwin8-strip... strip
checking for powerpc-apple-darwin8-ranlib... no
checking for ranlib... ranlib
checking command to parse link -dump -symbols output from gcc -
std=gnu99 object... failed
checking for powerpc-apple-darwin8-dsymutil... no
checking for dsymutil... dsymutil
checking for powerpc-apple-darwin8-nmedit... no
checking for nmedit... nmedit
checking for powerpc-apple-darwin8-lipo... no
checking for lipo... lipo
checking for powerpc-apple-darwin8-otool... no
checking for otool... otool
checking for powerpc-apple-darwin8-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fno-common -DPIC
checking if gcc -std=gnu99 PIC flag -fno-common -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/libexec/gcc/i686-
apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking libjpeg version number... 7:0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jconfig.h
config.status: jconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
rm -f cjpeg djpeg jpegtran rdjpgcom wrjpgcom
test -z "testout.ppm testout.bmp testout.jpg testoutp.ppm testoutp.jpg
testoutt.jpg" || rm -f testout.ppm testout.bmp testout.jpg
testoutp.ppm testoutp.jpg testoutt.jpg
rm -f ansi2knr
test -z "libjpeg.la" || rm -f libjpeg.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
test "" = "" || rm -f *_.c
rm -f *.lo
make: *** No rule to make target `install-lib'. Stop.
rm: libjpeg.62.0.0.dylib: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcomapi.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jutils.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jerror.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jmemmgr.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jmemnobs.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcapimin.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcapistd.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jctrans.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcparam.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdatadst.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcinit.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcmaster.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcmarker.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcmainct.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcprepct.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jccoefct.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jccolor.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcsample.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jchuff.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcphuff.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jcdctmgr.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jfdctfst.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jfdctflt.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jfdctint.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdapimin.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdapistd.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdtrans.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdatasrc.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdmaster.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdinput.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdmarker.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdhuff.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdphuff.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdmainct.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdcoefct.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdpostct.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jddctmgr.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jidctfst.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jidctflt.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jidctint.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jidctred.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdsample.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdcolor.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jquant1.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jquant2.o: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: jdmerge.o: No such file or directory
install: libjpeg.62.0.0.dylib: No such file or directory
configure: WARNING: If you wanted to set the --build type, don't use --
host.
If a cross compiler is detected then cross compile mode will be
used.
checking build system type... i686-apple-darwin9.8.0
checking host system type... i386-apple-darwin8
checking target system type... i386-apple-darwin8
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i386-apple-darwin8-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i386-apple-darwin8-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for function prototypes... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for i386-apple-darwin8-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C...
(cached) -std=gnu99
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking if LD -Wl,--version-script works... no
checking for function prototypes... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for string.h... (cached) yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for an ANSI C-conforming const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/libexec/gcc/i686-apple-
darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)
is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... no
checking for i386-apple-darwin8-dumpbin... no
checking for i386-apple-darwin8-link... no
checking for dumpbin... no
checking for link... link -dump -symbols
checking the name lister (link -dump -symbols) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to
reload object files... -r
checking for i386-apple-darwin8-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i386-apple-darwin8-ar... no
checking for ar... ar
checking for i386-apple-darwin8-strip... strip
checking for i386-apple-darwin8-ranlib... no
checking for ranlib... ranlib
checking command to parse link -dump -symbols output from gcc -
std=gnu99 object... failed
checking for i386-apple-darwin8-dsymutil... no
checking for dsymutil... dsymutil
checking for i386-apple-darwin8-nmedit... no
checking for nmedit... nmedit
checking for i386-apple-darwin8-lipo... no
checking for lipo... lipo
checking for i386-apple-darwin8-otool... no
checking for otool... otool
checking for i386-apple-darwin8-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fno-common -DPIC
checking if gcc -std=gnu99 PIC flag -fno-common -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/libexec/gcc/i686-
apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking libjpeg version number... 7:0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jconfig.h
config.status: jconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
rm -f cjpeg djpeg jpegtran rdjpgcom wrjpgcom
test -z "testout.ppm testout.bmp testout.jpg testoutp.ppm testoutp.jpg
testoutt.jpg" || rm -f testout.ppm testout.bmp testout.jpg
testoutp.ppm testoutp.jpg testoutt.jpg
rm -f ansi2knr
test -z "libjpeg.la" || rm -f libjpeg.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
test "" = "" || rm -f *_.c
rm -f *.lo
make: *** No rule to make target `install-lib'. Stop.
rm: libjpeg.62.0.0.dylib: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcomapi.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jutils.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jerror.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jmemmgr.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jmemnobs.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcapimin.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcapistd.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jctrans.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcparam.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdatadst.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcinit.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcmaster.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcmarker.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcmainct.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcprepct.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jccoefct.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jccolor.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcsample.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jchuff.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcphuff.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jcdctmgr.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jfdctfst.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jfdctflt.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jfdctint.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdapimin.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdapistd.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdtrans.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdatasrc.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdmaster.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdinput.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdmarker.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdhuff.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdphuff.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdmainct.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdcoefct.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdpostct.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jddctmgr.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jidctfst.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jidctflt.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jidctint.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jidctred.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdsample.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdcolor.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jquant1.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jquant2.o: No such file or directory
i686-apple-darwin9-gcc-4.0.1: jdmerge.o: No such file or directory
install: libjpeg.62.0.0.dylib: No such file or directory
lipo: can't open input file: /Users/michael/development/hugin/mac/
ExternalPrograms/repository/arch/ppc/lib/libjpeg.a (No such file or
directory)
ranlib: can't open file: /Users/michael/development/hugin/mac/
ExternalPrograms/repository/lib/libjpeg.a (No such file or directory)
lipo: can't open input file: /Users/michael/development/hugin/mac/
ExternalPrograms/repository/arch/ppc/lib/libjpeg.62.0.0.dylib (No such
file or directory)

i tried changing references in the libjpeg.sh script from 62 to 70 but
it does not build either.

-- michael

Harry van der Wolf

unread,
Sep 14, 2009, 4:37:07 AM9/14/09
to hugi...@googlegroups.com


2009/9/14 michael_tn <michael.d...@gmail.com>



now with jpeg-7 (cannot find 6.2 source), i get this:

Please try to build this one. Hugin is based on libjpeg-6 and so is the XCode project. (as are enblend/enfuse, autopano-sift, nona, vigra, etc., etc. and our MacOSX and your linux).
version 7 is life since 27 june 2009. If it is not compatible with all stuff within hugin we might get completely other problems.
 
I just created created a libjpeg-7.sh script for test purposes and added it to trunk and 2009.2.
 
For your convenience I also added it to this mail. I will try this evening with libjpeg7 in hugin.
 
For the time being: Please stick to the 6b library and the standard libjpeg.sh script.
 
Harry
 
 
 
 
libjpeg-7.sh

michael_tn

unread,
Sep 14, 2009, 8:16:00 AM9/14/09
to hugin and other free panoramic software


On Sep 14, 4:37 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
> 2009/9/14 michael_tn <michael.d.gallo...@gmail.com>
ok, i found the jpeg6b source and it builds with the original script.
i'm as far along as panomatic now. i get this at the end of the build

Making install in panomatic
test -z "/Users/michael/development/hugin/mac/ExternalPrograms/
repository/arch/i386/bin" || .././install-sh -c -d "/Users/michael/
development/hugin/mac/ExternalPrograms/repository/arch/i386/bin"
/usr/bin/install -c 'panomatic' '/Users/michael/development/hugin/
mac/ExternalPrograms/repository/arch/i386/bin/panomatic'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
lipo: can't open input file: /Users/michael/development/hugin/mac/
ExternalPrograms/repository/arch/ppc/bin/panomatic (No such file or
directory)
strip: can't open file: /Users/michael/development/hugin/mac/
ExternalPrograms/repository/bin/panomatic (No such file or directory)

looks like it builds an i386 but not ppc (i'm using the SetEnv-
universal build).

-- michael

Harry van der Wolf

unread,
Sep 14, 2009, 2:15:35 PM9/14/09
to hugi...@googlegroups.com


2009/9/14 michael_tn <michael.d...@gmail.com>



looks like it builds an i386 but not ppc (i'm using the SetEnv-
universal build).

-- michael
 
The script contains a typo that I just corrected. But that was not enough.
I built the script the last time on tiger. Now I have terrible problems compiling ppc again.

Please continue. It's not a showstopper if panomatic doesn't compile (yet).

I let you know when I've solved this annoying problem.

Harry

Michael Galloway

unread,
Sep 14, 2009, 5:03:55 PM9/14/09
to hugi...@googlegroups.com
On Mon, Sep 14, 2009 at 08:15:35PM +0200, Harry van der Wolf wrote:
> 2009/9/14 michael_tn <michael.d...@gmail.com>

>
>
> The script contains a typo that I just corrected. But that was not enough.
> I built the script the last time on tiger. Now I have terrible problems
> compiling ppc again.
>
> Please continue. It's not a showstopper if panomatic doesn't compile (yet).
>
> I let you know when I've solved this annoying problem.
>
> Harry
>

right, will carry on this evening ....

-- michael

Michael Galloway

unread,
Sep 14, 2009, 9:03:30 PM9/14/09
to hugi...@googlegroups.com
On Mon, Sep 14, 2009 at 08:15:35PM +0200, Harry van der Wolf wrote:
>
> The script contains a typo that I just corrected. But that was not enough.
> I built the script the last time on tiger. Now I have terrible problems
> compiling ppc again.
>
> Please continue. It's not a showstopper if panomatic doesn't compile (yet).
>
> I let you know when I've solved this annoying problem.
>
> Harry
>

ok, looking through the BuildConfig.xconfig file i see that Image-Exiftools is referenced:

// ExifTool
EXIFTOOL_DIR = ../mac/ExternalPrograms/Image-ExifTool-7.84

but there is no script in the scripts directory to build this.

-- michael

Harry van der Wolf

unread,
Sep 15, 2009, 1:48:02 AM9/15/09
to hugi...@googlegroups.com


2009/9/15 Michael Galloway <m...@ornl.gov>


ok, looking through the BuildConfig.xconfig file i see that Image-Exiftools is referenced:

// ExifTool
EXIFTOOL_DIR = ../mac/ExternalPrograms/Image-ExifTool-7.84

but there is no script in the scripts directory to build this.

-- michael

That's correct. Exiftool is a perl set. Just download the general package from <http://www.sno.phy.queensu.ca/~phil/exiftool/>. That's the top link, not the .dmg. Unpack it in the ExternalPrograms directory and refer to it in the BuildConfig file.

I will add that to the wiki.

Harry
Reply all
Reply to author
Forward
0 new messages