[mythtv-users] Mac gcc et al without XCode

Warpme warpme at o2.pl
Tue Feb 28 09:35:07 UTC 2012


On 2/27/12 11:38 PM, Jean-Yves Avenard wrote:
> Hi
>
> On Tuesday, 28 February 2012, Warpme wrote:
>
>
>
>     >From some reason I can't find Your last replay in thunderbird -
>     but it is present in gossamer :-(
>
>     Indeed it looks I missed fact that current packaging git has
>     reverted Your new script.
>     I pulled MythTV-packaging-v0.25pre-228-g12679e7 and give it run:
>
> Some people are unappreciative of the effort done unless they've done 
> it themselves. I guess some kind of misplaced territoriality.
>
>     Running osx-packger.pl <http://osx-packger.pl> fails here:
>
>
> Read the readme file , that's what it is for.
> As I mentioned in the readme file, if running parallel compiling it 
> will fail a few times... Either run the script a few times (it will 
> resume from where it left of) until its all complete or run it with 
> -noparallel (the last option will succeed, but takes forever)
>
>
>     [osx-pkg] Using 5 jobs on 4 parallel CPUs
>
>
>  There you go.. You're compiling with -j5
>
>
>
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Jean-Yves,

Argh. I simply forgot about this issue. I had this frequently in past 
(with 10.6.x) and indeed relaunching build helps.
This is was also case here.
Finally I was able to build Qt but building process seems to failing now 
on libogg.
Log is following:

Piotrs-Mac-Pro:mythtv-lion piotro$ ./osx-packager.pl -verbose
[osx-pkg] Building using master profile
[osx-pkg] DEVROOT = /Developer
[osx-pkg] SDKVER = 10.6
[osx-pkg] SDKROOT = /Developer/SDKs/MacOSX10.6.sdk
[osx-pkg] CCBIN = /Developer/usr/bin/gcc
[osx-pkg] CXXBIN = /Developer/usr/bin/g++
[osx-pkg] CFLAGS = -mmacosx-version-min=10.4 
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include
[osx-pkg] /usr/bin/hostinfo | grep 'processors$'
[osx-pkg] Using 5 jobs on 4 parallel CPUs
[osx-pkg] Forcing x86 build...
[osx-pkg] Including components: mythtv mythplugins packaging
[osx-pkg] Using previously downloaded ccache
[osx-pkg] Using previously unpacked ccache
[osx-pkg] Using previously configured ccache
[osx-pkg] Using previously built ccache
[osx-pkg] Using previously downloaded pkgconfig
[osx-pkg] Using previously unpacked pkgconfig
[osx-pkg] Using previously configured pkgconfig
[osx-pkg] Using previously built pkgconfig
[osx-pkg] Using previously downloaded dvdcss
[osx-pkg] Using previously unpacked dvdcss
[osx-pkg] Using previously configured dvdcss
[osx-pkg] Using previously built dvdcss
[osx-pkg] Using previously downloaded freetype
[osx-pkg] Using previously unpacked freetype
[osx-pkg] Using previously configured freetype
[osx-pkg] Using previously built freetype
[osx-pkg] Using previously downloaded lame
[osx-pkg] Using previously unpacked lame
[osx-pkg] Using previously configured lame
[osx-pkg] Using previously built lame
[osx-pkg] Using previously downloaded mysqlclient
[osx-pkg] Using previously unpacked mysqlclient
[osx-pkg] Using previously configured mysqlclient
[osx-pkg] Using previously built mysqlclient
[osx-pkg] Using previously downloaded qt
[osx-pkg] Using previously unpacked qt
[osx-pkg] Using previously configured qt
[osx-pkg] Using previously built qt
[osx-pkg] Using previously downloaded yasm
[osx-pkg] Using previously unpacked yasm
[osx-pkg] Using previously configured yasm
[osx-pkg] Using previously built yasm
[osx-pkg] Using previously downloaded liberation-sans
[osx-pkg] Using previously unpacked liberation-sans
[osx-pkg] Using previously configured liberation-sans
[osx-pkg] Using previously built liberation-sans
[osx-pkg] Using previously downloaded exif
[osx-pkg] Using previously unpacked exif
[osx-pkg] Using previously configured exif
[osx-pkg] Using previously built exif
[osx-pkg] Using previously downloaded taglib
[osx-pkg] Using previously unpacked taglib
[osx-pkg] Using previously configured taglib
[osx-pkg] Using previously built taglib
[osx-pkg] Using previously downloaded libogg
[osx-pkg] Using previously unpacked libogg
[osx-pkg] Configuring libogg
[osx-pkg] ./configure 
--prefix=/Volumes/Data/Devel/mythtv-lion/.osx-packager/build 
--disable-static --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... /Developer/usr/bin/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 /Developer/usr/bin/gcc accepts -g... yes
checking for /Developer/usr/bin/gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of /Developer/usr/bin/gcc... gcc3
checking build system type... i686-apple-darwin11.3.0
checking host system type... i686-apple-darwin11.3.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by /Developer/usr/bin/gcc... 
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker 
(/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) 
is GNU ld... no
checking for 
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld 
option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /Developer/usr/bin/gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /Developer/usr/bin/g++ accepts -g... yes
checking dependency style of /Developer/usr/bin/g++... gcc3
checking how to run the C++ preprocessor... /Developer/usr/bin/g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm output from /Developer/usr/bin/gcc 
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /Developer/usr/bin/gcc static flag  works... yes
checking if /Developer/usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /Developer/usr/bin/gcc option to produce PIC... -fno-common
checking if /Developer/usr/bin/gcc PIC flag -fno-common works... yes
checking if /Developer/usr/bin/gcc supports -c -o file.o... yes
checking whether the /Developer/usr/bin/gcc linker 
(/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin11.3.0 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... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /Developer/usr/bin/g++... 
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker 
(/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) 
is GNU ld... no
checking whether the /Developer/usr/bin/g++ linker 
(/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) 
supports shared libraries... yes
checking for /Developer/usr/bin/g++ option to produce PIC... -fno-common
checking if /Developer/usr/bin/g++ PIC flag -fno-common works... yes
checking if /Developer/usr/bin/g++ supports -c -o file.o... yes
checking whether the /Developer/usr/bin/g++ linker 
(/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin11.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for int16_t... yes
checking for int32_t... yes
checking for uint32_t... no
checking for uint16_t... no
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for int64_t... yes
checking for short... yes
checking size of short... configure: error: cannot compute sizeof 
(short), 77
See `config.log' for more details.
[osx-pkg] Failed system call: " ./configure 
--prefix=/Volumes/Data/Devel/mythtv-lion/.osx-packager/build 
--disable-static --enable-shared " with error code 1
Died at ./osx-packager.pl line 870.
Piotrs-Mac-Pro:mythtv-lion piotro$

-------------- next part --------------
A non-text attachment was scrubbed...
Name: warpme.vcf
Type: text/x-vcard
Size: 83 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20120228/c5aeaf80/attachment.vcf 


More information about the mythtv-users mailing list