Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Mac gcc et al without XCode

 

 

First page Previous page 1 2 Next page Last page  View All MythTV users RSS feed   Index | Next | Previous | View Threaded


ctreleaven at cogeco

Feb 21, 2012, 9:09 AM

Post #1 of 26 (1273 views)
Permalink
Mac gcc et al without XCode

Haven't tried it, but Apple has released a new package that installs
Apple's tools and SDK's without having to download and install the
full XCode app.

http://www.kennethreitz.com/xcode-gcc-and-homebrew.html

Donno if it solves the problems folks are having with XCode 4.3...

Craig
--
--
Craig Treleaven, CA -- Clearview Consulting
(905) 829-2054 ctreleaven [at] cogeco
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jyavenard at gmail

Feb 21, 2012, 6:08 PM

Post #2 of 26 (1239 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

Hi

On 22 February 2012 04:09, Craig Treleaven <ctreleaven [at] cogeco> wrote:
> Haven't tried it, but Apple has released a new package that installs
> Apple's tools and SDK's without having to download and install the
> full XCode app.
>
> http://www.kennethreitz.com/xcode-gcc-and-homebrew.html
>
> Donno if it solves the problems folks are having with XCode 4.3...

The core issue is that Qt (the official release) do not compile
against llvm and XCode 4.2-3 do not ship the plain gcc any longer.

So you need plain gcc to compile Qt which only came with XCode 3 or
XCode 4.1, and those two don't work in Lion.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


gjhurlbu at gmail

Feb 21, 2012, 6:57 PM

Post #3 of 26 (1231 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On Tue, Feb 21, 2012 at 6:08 PM, Jean-Yves Avenard <jyavenard [at] gmail> wrote:
> The core issue is that Qt (the official release) do not compile
> against llvm and XCode 4.2-3 do not ship the plain gcc any longer.
>
> So you need plain gcc to compile Qt which only came with XCode 3 or
> XCode 4.1, and those two don't work in Lion.

There is always one more option which really sucks. Use llvm to
compile gcc so you can compile Qt :)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


gary.buhrmaster at gmail

Feb 21, 2012, 8:00 PM

Post #4 of 26 (1231 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On Wed, Feb 22, 2012 at 02:57, Gavin Hurlbut <gjhurlbu [at] gmail> wrote:
...
> There is always one more option which really sucks.  Use llvm to
> compile gcc so you can compile Qt :)

Question: Did the Qt (unsupported) macosx clang
branches never make it to the base? I was
under the impression that there was integration
work going on in mid/late 2011 for that so that
llvm/clang could compile Qt (and some of the fixes
were in llvm/clang (Qt is a good exerciser of C++
compilers :-)).

Gary
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jyavenard at gmail

Feb 25, 2012, 7:12 AM

Post #5 of 26 (1205 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

Hi

I've pushed a new build script that works with XCode 4.
You can get it on the MythTV/packaging git repo

I'd appreciate if people could try it and report how it works for them...

JY
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


ctreleaven at cogeco

Feb 25, 2012, 9:28 AM

Post #6 of 26 (1201 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

At 2:12 AM +1100 2/26/12, Jean-Yves Avenard wrote:
>Hi
>
>I've pushed a new build script that works with XCode 4.
>You can get it on the MythTV/packaging git repo
>
>I'd appreciate if people could try it and report how it works for them...
>

I will give it a go next week under XCode 3.2.6. One exceedingly minor note, the readme says:
In a terminal, run xcode-select -print

but I think the parameter ought to be -print-path.

Overall, it looks like a big step forward for the build script!

Craig

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


warpme at o2

Feb 25, 2012, 12:13 PM

Post #7 of 26 (1206 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/25/12 4:12 PM, Jean-Yves Avenard wrote:
> Hi
>
> I've pushed a new build script that works with XCode 4.
> You can get it on the MythTV/packaging git repo
>
> I'd appreciate if people could try it and report how it works for them...
>
> JY
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
jya

Thx for Your efforts regarding osx lion & mythtv.
I'm on 10.7.3 & xcode4.2

xcode-select -print-path reports:

Piotrs-Mac-Pro:mythtv-lion piotro$ xcode-select -print-path
/Developer

Building fails with following error:

Piotrs-Mac-Pro:mythtv-lion piotro$ ./osx-packager.pl -debug -noparallel
cd src/tools/bootstrap/ && /usr/bin/make -f Makefile all
make[1]: Nothing to be done for `all'.
cd src/tools/moc/ && /usr/bin/make -f Makefile all
make[1]: Nothing to be done for `all'.
cd src/tools/rcc/ && /usr/bin/make -f Makefile all
make[1]: Nothing to be done for `all'.
cd src/tools/uic/ && /usr/bin/make -f Makefile all
make[1]: Nothing to be done for `all'.
cd src/corelib/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
/usr/bin/make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
cd src/xml/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
/usr/bin/make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
cd src/network/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
/usr/bin/make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
cd src/sql/ && /usr/bin/make -f Makefile all
/usr/bin/make -f Makefile.Release all
rm -f libQtSql.4.8.0.dylib libQtSql.dylib libQtSql.4.dylib
libQtSql.4.8.dylib
g++ -F/System/Library/Frameworks -L/usr/lib
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32 -arch
x86_64 -single_module -dynamiclib -compatibility_version 4.8
-current_version 4.8.0 -install_name
/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib/libQtSql.4.dylib
-Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64
-mmacosx-version-min=10.5 -o libQtSql.4.8.0.dylib
.obj/release-shared/qsqlquery.o .obj/release-shared/qsqldatabase.o
.obj/release-shared/qsqlfield.o .obj/release-shared/qsqlrecord.o
.obj/release-shared/qsqldriver.o .obj/release-shared/qsqldriverplugin.o
.obj/release-shared/qsqlerror.o .obj/release-shared/qsqlresult.o
.obj/release-shared/qsqlindex.o .obj/release-shared/qsqlcachedresult.o
.obj/release-shared/qsql_mysql.o .obj/release-shared/qsqlquerymodel.o
.obj/release-shared/qsqltablemodel.o
.obj/release-shared/qsqlrelationaldelegate.o
.obj/release-shared/qsqlrelationaltablemodel.o
.obj/release-shared/moc_qsqldriver.o
.obj/release-shared/moc_qsqldriverplugin.o
.obj/release-shared/moc_qsql_mysql.o
.obj/release-shared/moc_qsqlquerymodel.o
.obj/release-shared/moc_qsqltablemodel.o
.obj/release-shared/moc_qsqlrelationaltablemodel.o
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/lib
-F/System/Library/Frameworks -L/usr/lib
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib/mysql
-lmysqlclient_r -lz -lm -lQtCore
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/lib

ld: warning: ignoring file
/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib/mysql/libmysqlclient_r.dylib,
file was built for unsupported file format which is not the architecture
being linked (x86_64)
Undefined symbols for architecture x86_64:
"_mysql_real_escape_string", referenced from:
QMYSQLDriver::formatValue(QSqlField const&, bool) constin
qsql_mysql.o
"_mysql_error", referenced from:
qMakeError(QString const&, QSqlError::ErrorType,
QMYSQLDriverPrivate const*)in qsql_mysql.o
"_mysql_errno", referenced from:
qMakeError(QString const&, QSqlError::ErrorType,
QMYSQLDriverPrivate const*)in qsql_mysql.o
QMYSQLResult::record() const in qsql_mysql.o
"_mysql_query", referenced from:
QMYSQLDriver::rollbackTransaction() in qsql_mysql.o
QMYSQLDriver::commitTransaction() in qsql_mysql.o
QMYSQLDriver::beginTransaction() in qsql_mysql.o
"_mysql_list_fields", referenced from:
QMYSQLDriver::record(QString const&) constin qsql_mysql.o
"_mysql_fetch_field", referenced from:
QMYSQLDriver::record(QString const&) constin qsql_mysql.o
QMYSQLResult::record() const in qsql_mysql.o
QMYSQLResultPrivate::bindInValues() in qsql_mysql.o
"_mysql_free_result", referenced from:
QMYSQLDriver::record(QString const&) constin qsql_mysql.o
QMYSQLDriver::tables(QSql::TableType) const in qsql_mysql.o
QMYSQLResult::nextResult() in qsql_mysql.o
QMYSQLResult::cleanup() in qsql_mysql.o
"_mysql_get_server_version", referenced from:
QMYSQLDriver::tables(QSql::TableType) const in qsql_mysql.o
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_list_tables", referenced from:
QMYSQLDriver::tables(QSql::TableType) const in qsql_mysql.o
"_mysql_data_seek", referenced from:
QMYSQLDriver::tables(QSql::TableType) const in qsql_mysql.o
QMYSQLResult::fetch(int) in qsql_mysql.o
"_mysql_fetch_row", referenced from:
QMYSQLDriver::tables(QSql::TableType) const in qsql_mysql.o
QMYSQLResult::fetchNext() in qsql_mysql.o
QMYSQLResult::fetch(int) in qsql_mysql.o
"_mysql_thread_end", referenced from:
QMYSQLDriver::close() in qsql_mysql.o
"_mysql_close", referenced from:
QMYSQLDriver::close() in qsql_mysql.o
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_init", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_real_connect", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_select_db", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_options", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_set_character_set", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_character_set_name", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
QMYSQLDriver::QMYSQLDriver(st_mysql*, QObject*)in qsql_mysql.o
"_mysql_get_client_version", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_thread_init", referenced from:
QMYSQLDriver::open(QString const&, QString const&, QString
const&, QString const&, int, QString const&)in qsql_mysql.o
"_mysql_server_end", referenced from:
QMYSQLDriver::~QMYSQLDriver()in qsql_mysql.o
QMYSQLDriver::~QMYSQLDriver()in qsql_mysql.o
QMYSQLDriver::~QMYSQLDriver()in qsql_mysql.o
"_mysql_server_init", referenced from:
QMYSQLDriver::QMYSQLDriver(st_mysql*, QObject*)in qsql_mysql.o
QMYSQLDriver::QMYSQLDriver(QObject*)in qsql_mysql.o
QMYSQLDriver::QMYSQLDriver(QObject*)in qsql_mysql.o
"_mysql_stmt_error", referenced from:
qMakeStmtError(QString const&, QSqlError::ErrorType,
st_mysql_stmt*) in qsql_mysql.o
"_mysql_stmt_errno", referenced from:
qMakeStmtError(QString const&, QSqlError::ErrorType,
st_mysql_stmt*) in qsql_mysql.o
"_mysql_stmt_reset", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
"_mysql_stmt_param_count", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
QMYSQLResult::prepare(QString const&) in qsql_mysql.o
"_mysql_stmt_execute", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
"_mysql_stmt_bind_param", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
"_mysql_stmt_affected_rows", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
"_mysql_stmt_bind_result", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
"_mysql_stmt_attr_set", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
"_mysql_stmt_store_result", referenced from:
QMYSQLResult::exec() in qsql_mysql.o
"_mysql_next_result", referenced from:
QMYSQLResult::nextResult() in qsql_mysql.o
QMYSQLResult::cleanup() in qsql_mysql.o
"_mysql_store_result", referenced from:
QMYSQLResult::nextResult() in qsql_mysql.o
QMYSQLResult::cleanup() in qsql_mysql.o
QMYSQLResult::reset(QString const&) in qsql_mysql.o
"_mysql_field_count", referenced from:
QMYSQLResult::nextResult() in qsql_mysql.o
QMYSQLResult::reset(QString const&) in qsql_mysql.o
"_mysql_affected_rows", referenced from:
QMYSQLResult::nextResult() in qsql_mysql.o
QMYSQLResult::reset(QString const&) in qsql_mysql.o
"_mysql_fetch_field_direct", referenced from:
QMYSQLResult::nextResult() in qsql_mysql.o
QMYSQLResult::reset(QString const&) in qsql_mysql.o
"_mysql_field_seek", referenced from:
QMYSQLResult::record() const in qsql_mysql.o
"_mysql_stmt_insert_id", referenced from:
QMYSQLResult::lastInsertId() const in qsql_mysql.o
"_mysql_insert_id", referenced from:
QMYSQLResult::lastInsertId() const in qsql_mysql.o
"_mysql_num_rows", referenced from:
QMYSQLResult::size() in qsql_mysql.o
QMYSQLResult::fetchLast() in qsql_mysql.o
"_mysql_stmt_num_rows", referenced from:
QMYSQLResult::size() in qsql_mysql.o
QMYSQLResult::fetchLast() in qsql_mysql.o
"_mysql_fetch_lengths", referenced from:
QMYSQLResult::data(int) in qsql_mysql.o
"_mysql_stmt_fetch", referenced from:
QMYSQLResult::fetchNext() in qsql_mysql.o
QMYSQLResult::fetch(int) in qsql_mysql.o
"_mysql_stmt_data_seek", referenced from:
QMYSQLResult::fetch(int) in qsql_mysql.o
"_mysql_stmt_close", referenced from:
QMYSQLResult::cleanup() in qsql_mysql.o
"_mysql_real_query", referenced from:
QMYSQLResult::reset(QString const&) in qsql_mysql.o
"_mysql_stmt_init", referenced from:
QMYSQLResult::prepare(QString const&) in qsql_mysql.o
"_mysql_stmt_prepare", referenced from:
QMYSQLResult::prepare(QString const&) in qsql_mysql.o
"_mysql_stmt_result_metadata", referenced from:
QMYSQLResultPrivate::bindInValues() in qsql_mysql.o
"_mysql_num_fields", referenced from:
QMYSQLResultPrivate::bindInValues() in qsql_mysql.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libQtSql.4.8.0.dylib] Error 1
make[1]: *** [release-all] Error 2
make: *** [sub-sql-all-ordered] Error 2
[osx-pkg] Failed system call: " /usr/bin/make all
sub-plugins-install_subtargets-ordered install_qmake install_mkspecs "
with error code 2
Died at ./osx-packager.pl line 895.
Piotrs-Mac-Pro:mythtv-lion piotro$
Attachments: warpme.vcf (83 B)


jyavenard at gmail

Feb 25, 2012, 3:44 PM

Post #8 of 26 (1200 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

Hi

On 26 February 2012 07:13, Warpme <warpme [at] o2> wrote:
> Building fails with following error:
>

> g++ -F/System/Library/Frameworks -L/usr/lib
> -L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32 -arch x86_64
> -single_module -dynamiclib -compatibility_version     4.8 -current_version
>  4.8.0 -install_name

There is no way the new build script generate that compilation
configuration. Compilation is done in 32 bits mode always.
The other thing that is a giveaway is that a compilation command will
never start with g++ as it uses the absolute path to the g++ that is
attached to the SDKs in use (this is required to build against SDK
10.6 on Lion)

It seems to me that you aren't running the new osx-packager script at all

Delete the .osx-packager/src/qt-everywhere-opensource-src-4.8.0 folder
and start again

re-run osx-packager.pl with -verbose and post the top output before it
starts building

This is what it will typically looks like:

[osx-pkg] Building using master profile
[osx-pkg] DEVROOT =
/Applications/Custom/Development/Xcode.app/Contents/Developer
[osx-pkg] SDKVER = 10.6
[osx-pkg] SDKROOT =
/Applications/Custom/Development/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
[osx-pkg] CCBIN =
/Applications/Custom/Development/Xcode.app/Contents/Developer/usr/bin/gcc
[osx-pkg] CXXBIN =
/Applications/Custom/Development/Xcode.app/Contents/Developer/usr/bin/g++
[osx-pkg] CFLAGS = -mmacosx-version-min=10.4
-I/Users/jyavenard/Work/mythtv/.osx-packager/build/include
[osx-pkg] /usr/bin/hostinfo | grep 'processors$'
[osx-pkg] Using 9 jobs on 8 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] Unpacking qt
[osx-pkg] /usr/bin/tar -xzf
/Users/jyavenard/Work/mythtv/.osx-packager/src/qt-everywhere-opensource-src-4.8.0.tar.gz
[osx-pkg] Configuring qt
[osx-pkg] find . -name "*.pro" -exec sed -i -e
"s:/Developer/SDKs/:.*:g" {} \; ; sed -i -e "s:#elif
defined(Q_OS_SYMBIAN) && defined (QT_NO_DEBUG):#else:g"
src/corelib/kernel/qcoreapplication.cpp; sed -i -e "s:#if\( \!defined
(QT_NO_DEBUG) || defined (QT_MAC_FRAMEWORK_BUILD) || defined
(Q_OS_SYMBIAN)\):#if 1 //:g" src/corelib/kernel/qcoreapplication_p.h;
sed -i -e "s:^\(#import <QTKit/QTKit.h>\):#if defined(slots)\\
#undef slots\\
#endif\\
\1:g" src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
[osx-pkg] echo yes | ./configure -arch x86 -opensource -prefix
"/Users/jyavenard/Work/mythtv/.osx-packager/build" -release -fast
-no-accessibility -no-stl -sdk
/Applications/Custom/Development/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
-qt-sql-mysql -mysql_config
"/Users/jyavenard/Work/mythtv/.osx-packager/build/bin/mysql_config"
-no-sql-sqlite -no-sql-odbc -system-zlib -no-libtiff -no-libmng
-nomake examples -nomake demos -no-nis -no-cups -no-qdbus
-no-framework -no-multimedia -no-phonon -no-svg -no-javascript-jit
-no-scripttools
/Applications/Custom/Development/Xcode.app/Contents/Developer/usr/bin/g++
-c -o project.o -arch i386 -pipe -DQMAKE_OPENSOURCE_EDITION
-fconstant-cfstrings -isysroot
/Applications/Custom/Development/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
-g -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -Igenerators/symbian -Igenerators/integrity
-I/Users/jyavenard/Work/mythtv/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/include
-I/Users/jyavenard/Work/mythtv/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/include/QtCore
-I/Users/jyavenard/Work/mythtv/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/corelib/global
-I/Users/jyavenard/Work/mythtv/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/corelib/xml
-I/Users/jyavenard/Work/mythtv/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/tools/shared
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED
-DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/Users/jyavenard/Work/mythtv/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/mkspecs/macx-g++
-DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
-DQT_NO_DEPRECATED project.cpp


Notice the -arch x86 in the configure line... That forces Qt to be
built in 32 bits mode
And notice the /Applications/Custom/Development/Xcode.app/Contents/Developer/usr/bin/g++
With XCode 4.2, it would be /Developer/usr/bin/g++ not g++
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


warpme at o2

Feb 27, 2012, 12:04 PM

Post #9 of 26 (1183 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/25/12 4:12 PM, Jean-Yves Avenard wrote:
> Hi
>
> I've pushed a new build script that works with XCode 4.
> You can get it on the MythTV/packaging git repo
>
> I'd appreciate if people could try it and report how it works for them...
>
> JY
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Jean-Yves,

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:

Running osx-packger.pl fails here:
-----------------------------------
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore
-I../../../include/QtXml -I../../xml -o
.obj/release-shared/cppwriteicondeclaration.o
cpp/cppwriteicondeclaration.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore
-I../../../include/QtXml -I../../xml -o
.obj/release-shared/cppwriteiconinitialization.o
cpp/cppwriteiconinitialization.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore
-I../../../include/QtXml -I../../xml -o
.obj/release-shared/cppwriteincludes.o cpp/cppwriteincludes.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore
-I../../../include/QtXml -I../../xml -o
.obj/release-shared/cppwriteinitialization.o cpp/cppwriteinitialization.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore
-I../../../include/QtXml -I../../xml -o .obj/release-shared/main.o main.cpp
/Developer/usr/bin/g++ -c -mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -O2 -arch i386 -Wall -W -isysroot
/Developer/SDKs/MacOSX10.6.sdk -DQT_UIC -DQT_UIC_CPP_GENERATOR
-DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD
-DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/macx-g++
-I. -I. -I. -Icpp -I. -I../../../include -I../../../include/QtCore
-I../../../include/QtXml -I../../xml -o .obj/release-shared/uic.o uic.cpp
g++ -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk
-mmacosx-version-min=10.4
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32 -arch
i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -Xarch_i386
-mmacosx-version-min=10.4 -o ../../../bin/uic
.obj/release-shared/customwidgetsinfo.o
.obj/release-shared/databaseinfo.o .obj/release-shared/driver.o
.obj/release-shared/treewalker.o .obj/release-shared/ui4.o
.obj/release-shared/validator.o .obj/release-shared/cppextractimages.o
.obj/release-shared/cppwritedeclaration.o
.obj/release-shared/cppwriteicondata.o
.obj/release-shared/cppwriteicondeclaration.o
.obj/release-shared/cppwriteiconinitialization.o
.obj/release-shared/cppwriteincludes.o
.obj/release-shared/cppwriteinitialization.o .obj/release-shared/main.o
.obj/release-shared/uic.o
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/tools/bootstrap
-lbootstrap -framework CoreServices -lz -lz
[osx-pkg] Failed system call: " /usr/bin/make -j5 all
sub-plugins-install_subtargets-ordered install_qmake install_mkspecs "
with error code 2
Died at ./osx-packager.pl line 895.
Piotrs-Mac-Pro:mythtv-lion piotro$
--------------------------------------------


osx-packager.pl -verbose reports:
--------------------------------------------
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] Unpacking qt
[osx-pkg] /usr/bin/tar -xzf
/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0.tar.gz
[osx-pkg] Configuring qt
[osx-pkg] find . -name "*.pro" -exec sed -i -e "s:/Developer/SDKs/:.*:g"
{} \; ; sed -i -e "s:#elif defined(Q_OS_SYMBIAN) && defined
(QT_NO_DEBUG):#else:g" src/corelib/kernel/qcoreapplication.cpp; sed -i
-e "s:#if\( \!defined (QT_NO_DEBUG) || defined (QT_MAC_FRAMEWORK_BUILD)
|| defined (Q_OS_SYMBIAN)\):#if 1 //:g"
src/corelib/kernel/qcoreapplication_p.h; sed -i -e "s:^\(#import
<QTKit/QTKit.h>\):#if defined(slots)\\
#undef slots\\
#endif\\
\1:g"
src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
[osx-pkg] echo yes | ./configure -arch x86 -opensource -prefix
"/Volumes/Data/Devel/mythtv-lion/.osx-packager/build" -release -fast
-no-accessibility -no-stl -sdk /Developer/SDKs/MacOSX10.6.sdk
-qt-sql-mysql -mysql_config
"/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/bin/mysql_config"
-no-sql-sqlite -no-sql-odbc -system-zlib -no-libtiff -no-libmng -nomake
examples -nomake demos -no-nis -no-cups -no-qdbus -no-framework
-no-multimedia -no-phonon -no-svg -no-javascript-jit -no-scripttools

This is the Qt for Mac OS X Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?
Creating qmake. Please wait...
/Developer/usr/bin/g++ -c -o project.o -arch i386 -pipe
-DQMAKE_OPENSOURCE_EDITION -fconstant-cfstrings -isysroot
/Developer/SDKs/MacOSX10.6.sdk -g -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac -Igenerators/symbian
-Igenerators/integrity
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/include
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/include/QtCore
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/corelib/global
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/src/corelib/xml
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/tools/shared
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
-DQT_NO_COMPRESS
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/src/qt-everywhere-opensource-src-4.8.0/mkspecs/macx-g++
-DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
-DQT_NO_DEPRECATED project.cpp
--------------------------------------------
Attachments: warpme.vcf (83 B)


gjhurlbu at gmail

Feb 27, 2012, 12:10 PM

Post #10 of 26 (1172 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On Mon, Feb 27, 2012 at 12:04 PM, Warpme <warpme [at] o2> wrote:
> 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:

He reverted it early this morning. I have reinstated the new script as:
osx-packager-10.7.pl
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


warpme at o2

Feb 27, 2012, 12:55 PM

Post #11 of 26 (1172 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/27/12 9:10 PM, Gavin Hurlbut wrote:
> On Mon, Feb 27, 2012 at 12:04 PM, Warpme<warpme [at] o2> wrote:
>> 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:
> He reverted it early this morning. I have reinstated the new script as:
> osx-packager-10.7.pl
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Gavin,
Thx.
It is great that somebody tries to address Myth under OSX Lion !
I really hope we will have soon success here.
.br
Attachments: warpme.vcf (83 B)


jyavenard at gmail

Feb 27, 2012, 2:38 PM

Post #12 of 26 (1168 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

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 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


>
>
>
>


jyavenard at gmail

Feb 27, 2012, 2:39 PM

Post #13 of 26 (1167 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On Tuesday, 28 February 2012, Gavin Hurlbut wrote:

>
>
> He reverted it early this morning. I have reinstated the new script as:
> osx-packager-10.7.pl
>
>
I removed it for a reason...


warpme at o2

Feb 28, 2012, 1:35 AM

Post #14 of 26 (1160 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

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
> 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$
Attachments: warpme.vcf (83 B)


jyavenard at gmail

Feb 28, 2012, 1:48 AM

Post #15 of 26 (1152 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 28 February 2012 20:35, Warpme <warpme [at] o2> wrote:
>
> 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.

And once again, you clearly haven't read the README file

> Log is following:
> [osx-pkg] Using previously downloaded libogg
> [osx-pkg] Using previously unpacked libogg

So you had an existing libogg unpack there, probably with crap from a
previous compilation

I did clearly write to remove existing building dir.

so do a rm -rf .osx-packager/src/libogg-1.1.2

and try again.

(And I'm guessing if that one is crap, I'm sure there are others like that)

How hard is it to read the doc really?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jyavenard at gmail

Feb 28, 2012, 1:49 AM

Post #16 of 26 (1153 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 28 February 2012 20:35, Warpme <warpme [at] o2> wrote:

> Piotrs-Mac-Pro:mythtv-lion piotro$ ./osx-packager.pl -verbose

And that's not even the right one...
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


warpme at o2

Feb 28, 2012, 4:28 AM

Post #17 of 26 (1150 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/28/12 10:48 AM, Jean-Yves Avenard wrote:
> On 28 February 2012 20:35, Warpme<warpme [at] o2> wrote:
>> 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.
> And once again, you clearly haven't read the README file
>
>> Log is following:
>> [osx-pkg] Using previously downloaded libogg
>> [osx-pkg] Using previously unpacked libogg
> So you had an existing libogg unpack there, probably with crap from a
> previous compilation
>
> I did clearly write to remove existing building dir.
>
> so do a rm -rf .osx-packager/src/libogg-1.1.2
>
> and try again.
>
> (And I'm guessing if that one is crap, I'm sure there are others like that)
>
> How hard is it to read the doc really?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Heh, more trust on me pls.
Before any experiments with new packaging scripts I always delete all
dirs in .osx-packager/src/ - so current libogg problem is not related to
previous builds.
Before sending report to You I do dirs clean again and also verify is
libogg build an fresh build or not. It was.
Regarding reading README: I read it. I simply forgot that Qt 4.8 issue
from Yesterday might be issue with Qt fragility on parallels builds...
Ppl do sometimes mistakes (especially when many other things are racing
for their time).

I cleared libogg dir in .osx-packager/src/.
Build fails exactly tn the same place.

.br
Attachments: warpme.vcf (83 B)


warpme at o2

Feb 28, 2012, 4:31 AM

Post #18 of 26 (1144 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/28/12 10:49 AM, Jean-Yves Avenard wrote:
> On 28 February 2012 20:35, Warpme<warpme [at] o2> wrote:
>
>> Piotrs-Mac-Pro:mythtv-lion piotro$ ./osx-packager.pl -verbose
> And that's not even the right one...
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Hmm - If You are referring to current osx-packager-10.7.pl - before
experiments I make sure is my script on latest version.
Script I'm using is binary equal to current osx-packager-10.7.pl git head.

.br
Attachments: warpme.vcf (83 B)


jyavenard at gmail

Feb 28, 2012, 4:44 AM

Post #19 of 26 (1146 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

checking size of short... configure: error: cannot compute sizeof (short), 77
See `config.log' for more details.

so what config.log states?

This is a core compiler issue, why wouldn't it be able to determine
the size of a short.

nothing to do with the build script, and unlikely liboff for that matter

FYI, I have tested the build script in 10.5, 10.6, 10.7 with XCode
4.3, 4.2, 3.3 and 3.2...

So pretty wide coverage
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


warpme at o2

Feb 28, 2012, 11:55 AM

Post #20 of 26 (1129 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/28/12 1:44 PM, Jean-Yves Avenard wrote:
> checking size of short... configure: error: cannot compute sizeof (short), 77
> See `config.log' for more details.
>
> so what config.log states?
>
> This is a core compiler issue, why wouldn't it be able to determine
> the size of a short.
>
> nothing to do with the build script, and unlikely liboff for that matter
>
> FYI, I have tested the build script in 10.5, 10.6, 10.7 with XCode
> 4.3, 4.2, 3.3 and 3.2...
>
Looks impressive !
Thx for this.

I'm attaching libogg configure.log.

By curiosity I tried various ver. of libogg: 1.1.4 1.2.0 1.2.2 & 1.3.0
For 1.2+ error is different:
"checking size of long long... 0
configure: error: No 16 bit type found on this platform!"

Maybe I should change Xcode ?
I'm on 4.2 4D199

.br
Attachments: config.log.zip (7.78 KB)


warpme at o2

Feb 28, 2012, 1:18 PM

Post #21 of 26 (1131 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/28/12 8:55 PM, Warpme wrote:
> On 2/28/12 1:44 PM, Jean-Yves Avenard wrote:
>> checking size of short... configure: error: cannot compute sizeof
>> (short), 77
>> See `config.log' for more details.
>>
>> so what config.log states?
>>
>> This is a core compiler issue, why wouldn't it be able to determine
>> the size of a short.
>>
>> nothing to do with the build script, and unlikely liboff for that matter
>>
>> FYI, I have tested the build script in 10.5, 10.6, 10.7 with XCode
>> 4.3, 4.2, 3.3 and 3.2...
>>
> Looks impressive !
> Thx for this.
>
> I'm attaching libogg configure.log.
>
> By curiosity I tried various ver. of libogg: 1.1.4 1.2.0 1.2.2 & 1.3.0
> For 1.2+ error is different:
> "checking size of long long... 0
> configure: error: No 16 bit type found on this platform!"
>
> Maybe I should change Xcode ?
> I'm on 4.2 4D199
>
> .br
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
FYI,
this is interesting:
I do:

cd src/libogg-1.2.1
./configure --prefix=/Volumes/Data/Devel/mythtv-lion/.osx-packager/build
--disable-static --enable-shared
make
make install

and I have configured, compiled & installed libogg.
Attachments: warpme.vcf (83 B)


jyavenard at gmail

Feb 28, 2012, 3:28 PM

Post #22 of 26 (1122 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

Hi

On 29 February 2012 06:55, Warpme <warpme [at] o2> wrote:
> Maybe I should change Xcode ?
> I'm on 4.2 4D199

I use 4.2 on one machine with no problem..
configure:19802: checking size of short
configure:20114: /Developer/usr/bin/gcc -o conftest -fno-common -O4
-Wall -fsigned-char -ffast-math -mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-mmacosx-version-min=10.4
-I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk
-mmacosx-version-min=10.4
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk
-mmacosx-version-min=10.4
-L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32
conftest.c >&5
ld: lto: could not merge in
/var/folders/4s/kzkj58nx7kj21d1d4rl38lq80000gn/T//cclYIrmU.o because
Unknown instruction for architecture i386
collect2: ld returned 1 exit status


very weird error indeed...

I don't believe XCode 4.3 has an updated gcc either...
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


warpme at o2

Feb 29, 2012, 12:11 AM

Post #23 of 26 (1125 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

On 2/29/12 12:28 AM, Jean-Yves Avenard wrote:
> Hi
>
> On 29 February 2012 06:55, Warpme<warpme [at] o2> wrote:
>> Maybe I should change Xcode ?
>> I'm on 4.2 4D199
> I use 4.2 on one machine with no problem..
> configure:19802: checking size of short
> configure:20114: /Developer/usr/bin/gcc -o conftest -fno-common -O4
> -Wall -fsigned-char -ffast-math -mmacosx-version-min=10.4
> -I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
> -mmacosx-version-min=10.4
> -I/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/include -m32
> -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk
> -mmacosx-version-min=10.4
> -L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32
> -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk
> -mmacosx-version-min=10.4
> -L/Volumes/Data/Devel/mythtv-lion/.osx-packager/build/lib -m32
> conftest.c>&5
> ld: lto: could not merge in
> /var/folders/4s/kzkj58nx7kj21d1d4rl38lq80000gn/T//cclYIrmU.o because
> Unknown instruction for architecture i386
> collect2: ld returned 1 exit status
>
>
> very weird error indeed...
>
> I don't believe XCode 4.3 has an updated gcc either...
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Jean-Yves,

My prime motivation to build OSX package is theme development (my
desktop is only MAC).
May You be so kind and provide me link where I can download latest FE
package ?
Thx in advance !
Attachments: warpme.vcf (83 B)


jyavenard at gmail

Feb 29, 2012, 8:18 PM

Post #24 of 26 (1096 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

Hi

On 29 February 2012 19:11, Warpme <warpme [at] o2> wrote:
> My prime motivation to build OSX package is theme development (my desktop is
> only MAC).
> May You be so kind and provide me link where I can download latest FE
> package ?
> Thx in advance !

http://www.avenard.org/files/mac/

latest is 10 days old, and there's been a database change since...

I have now new package builder up and running, much much simpler,
doesn't need to compile Qt anymore.

Compile time is now under 2 minutes on my imac..

I will push it in a little while after I've re-tested the whole lot

JY
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jyavenard at gmail

Mar 5, 2012, 4:00 AM

Post #25 of 26 (1021 views)
Permalink
Re: Mac gcc et al without XCode [In reply to]

Hi

On 28 February 2012 20:35, Warpme <warpme [at] o2> wrote:
> 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$

Ok...

I've downgraded my install on lion to xcode 4.2

And it is a xcode 4.2 issue. Issue isn't there with 4.1 or 4.3....
To reproduce the issue, do the following:

CFLAGS="" ./configure

Something very dodgy occurring there
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

First page Previous page 1 2 Next page Last page  View All MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.