Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Flash builder compilen  (gelezen 1376 keer)

Flash builder compilen
« Gepost op: 2007/09/26, 15:25:12 »
Hallo iedereen,

Ik wil een beetje rommelen met flash. Nu wil ik niet kloten met Microsoft rotzooi in wine of VirtualBox, maar gewoon een progje vinden voor Linux.

Nu had ik ergens een deb gevonden, echter was dat de verkeerde architectuur. Ik heb namelijk amd64, kubuntu. Nu vind vond ik met hulp van dit forum een die je zelf moet compilen,. Echter gaat dit niet goed.

nvidia@nvidia-desktop:~/Desktop/f4lm-0.1/f4lm-0.1$ ./configure
loading cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for c++... (cached) c++
checking whether the C++ compiler (c++   ) works... yes
checking whether the C++ compiler (c++   ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking whether c++ supports -fno-exceptions... (cached) yes
checking whether c++ supports -fno-check-new... (cached) yes
checking whether c++ supports -fexceptions... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking whether c++ supports -frepo... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking for file... (cached) /usr/bin/file
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) yes
checking for objdir... .libs
checking for gcc option to produce PIC...  -fPIC -DPIC
checking if gcc PIC flag  -fPIC -DPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
finding the maximum length of command line arguments... (cached) 73729
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) no
creating libtool
loading cache ./config.cache
loading cache ./config.cache within ltconfig
checking host system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes
checking for objdir... .libs
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
finding the maximum length of command line arguments... (cached) 73729
checking if c++ supports -c -o file.o... (cached) yes
checking if c++ supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) no
appending configuration tag "CXX" to libtool
checking for object suffix... o
checking for executable suffix... no
checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
found msgfmt program is not GNU msgfmt; ignore it
checking for xgettext... :
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for res_init... no
checking for killpg in -lucb... no
checking size of int... 4
checking size of long... 8
checking size of char *... 8
checking size of char... 1
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for extra includes... no
checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log
nvidia@nvidia-desktop:~/Desktop/f4lm-0.1/f4lm-0.1$
Config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:627: checking host system type
configure:648: checking target system type
configure:666: checking build system type
configure:707: checking for a BSD compatible install
configure:764: checking for -p flag to install
configure:787: checking whether build environment is sane
configure:844: checking whether make sets ${MAKE}
configure:890: checking for working aclocal-1.4
configure:903: checking for working autoconf
configure:916: checking for working automake-1.4
configure:929: checking for working autoheader
configure:942: checking for working makeinfo
configure:1049: checking for gcc
configure:1162: checking whether the C compiler (gcc   ) works
configure:1178: gcc -o conftest     conftest.c  1>&5
configure:1204: checking whether the C compiler (gcc   ) is a cross-compiler
configure:1209: checking whether we are using GNU C
configure:1237: checking whether gcc accepts -g
configure:1270: checking how to run the C preprocessor
configure:1383: checking for c++
configure:1415: checking whether the C++ compiler (c++   ) works
configure:1436: rm -rf SunWS_cache; c++ -o conftest     conftest.C  1>&5
configure:1462: checking whether the C++ compiler (c++   ) is a cross-compiler
configure:1467: checking whether we are using GNU C++
configure:1495: checking whether c++ accepts -g
configure:1984: checking whether c++ supports -fno-exceptions
configure:2042: checking whether c++ supports -fno-check-new
configure:2100: checking whether c++ supports -fexceptions
configure:2617: checking how to run the C++ preprocessor
configure:2720: checking whether c++ supports -frepo
configure:2974: checking for ld used by GCC
configure:3042: checking if the linker (/usr/bin/ld) is GNU ld
configure:3059: checking for /usr/bin/ld option to reload object files
configure:3071: checking for BSD-compatible nm
configure:3109: checking whether ln -s works
configure:3130: checking how to recognise dependant libraries
configure:3318: checking for file
configure:3451: checking for ranlib
configure:3518: checking for strip
configure:3690: checking for Cygwin environment
configure:3723: checking for mingw32 environment
ltconfig:678:checking for gcc option to produce PIC
ltconfig:687:checking that gcc PIC flag  -fPIC -DPIC works.
ltconfig:749: checking if gcc static flag -static works
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:884: gcc -c -O2   -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: gcc -c -O2    conftest.c 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/  /p' > conftest.nm"
ltconfig:1479: gcc -o conftest -O2   -fno-builtin   conftest.c conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
c++ -E conftest.cc
ltconfig:678:checking for c++ option to produce PIC
ltconfig:687:checking that c++ PIC flag -fPIC -DPIC works.
ltconfig:697: c++ -c -O2 -fno-exceptions -fno-check-new -fPIC -DPIC -DPIC  conftest.cc 1>&5
ltconfig:749: checking if c++ static flag -static works
ltconfig:758: c++ -o conftest -O2 -fno-exceptions -fno-check-new   -static conftest.cc  1>&5
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if c++ supports -fno-rtti -fno-exceptions
ltconfig:884: c++ -c -O2 -fno-exceptions -fno-check-new -fno-rtti -fno-exceptions -c conftest.cc  conftest.cc 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: c++ -c -O2 -fno-exceptions -fno-check-new  conftest.cc 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/  /p' > conftest.nm"
ltconfig:1479: c++ -o conftest -O2 -fno-exceptions -fno-check-new -fno-builtin -fno-rtti -fno-exceptions   conftest.cc conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
configure:3870: checking for object suffix
configure:3876: gcc -c -O2    conftest.c 1>&5
configure:3896: checking for executable suffix
configure:3906: gcc -o conftest -O2     conftest.c  1>&5
configure:4043: checking for msgfmt
configure:4077: checking for gmsgfmt
configure:4122: checking for xgettext
configure:4237: checking for main in -lutil
configure:4252: gcc -o conftest -O2     conftest.c -lutil   1>&5
configure:4273: checking for main in -lcompat
configure:4288: gcc -o conftest -O2     conftest.c -lcompat   1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 4281 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:4310: checking for crypt in -lcrypt
configure:4329: gcc -o conftest -O2     conftest.c -lcrypt   1>&5
configure:4404: checking for socklen_t
configure:4434: c++ -c -O2 -fno-exceptions -fno-check-new  conftest.C 1>&5
configure:4501: checking for dnet_ntoa in -ldnet
configure:4520: gcc -o conftest -O2     conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 4509 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4542: checking for dnet_ntoa in -ldnet_stub
configure:4561: gcc -o conftest -O2     conftest.c -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 4550 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4583: checking for inet_ntoa
configure:4611: gcc -o conftest -O2     conftest.c  1>&5
configure:4673: checking for connect
configure:4701: gcc -o conftest -O2     conftest.c  1>&5
configure:4764: checking for remove
configure:4792: gcc -o conftest -O2     conftest.c  1>&5
configure:4856: checking for shmat
configure:4884: gcc -o conftest -O2     conftest.c  1>&5
configure:4948: checking for res_init
configure:4976: gcc -o conftest -O2     conftest.c  1>&5
/tmp/ccYLF9i9.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `res_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4953 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_init(); below.  */
#include
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_init();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_init) || defined (__stub___res_init)
choke me
#else
res_init();
#endif

; return 0; }
configure:5011: gcc -o conftest -O2     conftest.c   -lresolv 1>&5
configure:5036: checking for killpg in -lucb
configure:5055: gcc -o conftest -O2     conftest.c -lucb   1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 5044 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char killpg();

int main() {
killpg()
; return 0; }
configure:5124: checking size of int
configure:5143: gcc -o conftest -O2     conftest.c  1>&5
configure: In function 'main':
configure:5137: warning: incompatible implicit declaration of built-in function 'exit'
configure:5162: checking size of long
configure:5181: gcc -o conftest -O2     conftest.c  1>&5
configure: In function 'main':
configure:5175: warning: incompatible implicit declaration of built-in function 'exit'
configure:5200: checking size of char *
configure:5219: gcc -o conftest -O2     conftest.c  1>&5
configure: In function 'main':
configure:5213: warning: incompatible implicit declaration of built-in function 'exit'
configure:5238: checking size of char
configure:5257: gcc -o conftest -O2     conftest.c  1>&5
configure: In function 'main':
configure:5251: warning: incompatible implicit declaration of built-in function 'exit'
configure:5278: checking for dlopen in -ldl
configure:5322: checking for shl_unload in -ldld
configure:5341: gcc -o conftest -O2     conftest.c -ldld   1>&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 5330 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_unload();

int main() {
shl_unload()
; return 0; }
configure:5370: checking for extra includes
configure:5401: checking for extra libs
configure:5435: checking for libz
configure:5461: gcc -o conftest -O2        conftest.c    -lz  -lresolv 1>&5
configure:5454:17: error: zlib.h: No such file or directory
configure: In function 'main':
configure:5457: error: 'ZLIB_VERSION' undeclared (first use in this function)
configure:5457: error: (Each undeclared identifier is reported only once
configure:5457: error: for each function it appears in.)
configure: failed program was:
#line 5452 "configure"
#include "confdefs.h"

#include

int main() {
return (zlibVersion() == ZLIB_VERSION);
; return 0; }
Zijn er misschien libraries die ik mis, of is het misschien omdat dit voor 32bit is?
Als iemand een deb weet voor 64bit mag dat ook, maar liever dit compile probleem oplossen, omdat ik dit bij veel meer software heb.

Groet

Offline PeterF

  • Lid
Flash builder compilen
« Reactie #1 Gepost op: 2007/09/26, 17:38:22 »
Heb je de build-essentails en huidige versie van je kernel headers  geïnstalleerd?
sudo apt-get install build-essential linux-headers-$(uname -r)De kernel headers bevatten de declaratie van de 'interne' functie's. Er kan echter ook nog een missend pakket zijn.

Flash builder compilen
« Reactie #2 Gepost op: 2007/09/26, 19:26:22 »
Oke, dit heeft enigzins geholpen. Echter krijg ik nu een andere error:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!Uiteraard staat erboven nog een hoop van checks, maar die heb ik nu even weggelaten.

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Flash builder compilen
« Reactie #3 Gepost op: 2007/09/26, 19:36:04 »
Zit er geen readme bij?
Daar zou in moeten staan welke pakketten je nodig hebt om te kunnen compileren.

Om die laatste foutmelding op te lossen moet je waarschijnlijk het -dev pakket van Xorg installeren: xorg-dev

Offline PeterF

  • Lid
Flash builder compilen
« Reactie #4 Gepost op: 2007/09/26, 20:00:08 »
Na even googlen kwam ik deze deb tegen.
In de control file staan de pakketen vermeldt waar de installatie van afhankelijk is:
Citaat
Depends: binutils (>= 2.15-5 ),  libacl1 (>= 2.2.29-1.0.1 ), libattr1 (>= 2.4.21-1.0.1 ), libc6 (>= 2.3.2.ds1-21 ),  libgcc1 (>= 1 ), libncurses5 (>= 5.4-4 ), libstdc++5 (>= 1 )
Controleer in synaptic of ze geïnstalleerd zijn en indien niet installeer ze.

Flash builder compilen
« Reactie #5 Gepost op: 2007/09/26, 20:01:16 »
Weer wat verder :)

Nu het volgende:
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!Nu heb ik toch een hoop qt dingen installeerd.

------

Ja er is een readme met hetvolgende:
Citaat
--COMPILATION
   1-this project not finished yet. and there are some kind of autotools problem.
     if u see anyproblem in ./configure and make
     part then u can try ./startF4l
     if that doesnt work for you: qmake -project;qmake -o Makefile f4l.pro;make
     then ./f4l
./startF4l: [nope werkt niet]
qmake -project: [ok]
qmake -o Makefile f4l.pro [fail] :(
Citaat
Error processing project file: /home/nvidia/Desktop/f4lm-0.1/f4lm-0.1/f4l.pro
Edit:
nvidia@nvidia-desktop:~/Desktop/f4lm-0.1/f4lm-0.1$ apt-cache search libqt | grep headers
libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
libqt3-headers - Qt3 header files
libqttapioca-dev - QtTapioca, the Tapioca Qt4 Client Library - library headers
libqttelepathyclient-dev - Qt bindings for Telepathy - client library headers
libqttelepathycommon-dev - Qt bindings for Telepathy - common library headers
libqttelepathycore-dev - Qt bindings for Telepathy - core library headers
nvidia@nvidia-desktop:~/Desktop/f4lm-0.1/f4lm-0.1$
sudo apt-get install libqt3-headers libqt3-compat-headers[/]code]http://ubuntuforums.org/showthread.php?t=124483
hielp niet

Flash builder compilen
« Reactie #6 Gepost op: 2007/09/26, 20:26:15 »
@PeterF,

damn ik had jouw bericht helemaal over het hoofd gezien. sorry. Ik had alleen libstdc++5 niet geinstalleerd, maar na de installatie ervan wederom het qt probleem. De deb is helaas i386.

Flash builder compilen
« Reactie #7 Gepost op: 2007/09/27, 03:14:51 »
I give it up!!!!

Niet omdat ik niet verder kom, maar omdat ik het aan de praat heb gekregen om mn 32bit laptop. Het progje val behoorlijk tegen. Bijna niks werkt erin namelijk. Maarrrr omdat het nog in de kinderschoenen staat is het ook logisch dat weinig werkt. Dus even dansen om de heilige eik :P en hopen dat het verder ontwikkeld wordt tot een volwaardige flah progje :)

Is er overigens misschien nog een ander project waarmee je flash shizzle kan maken? En dan heb ik het dus niet over rotzooi dat voor windows is geschreven, met behulp van wine of andere zwik aan de praat te krijgen.