sziasztok!
egy s3c2416 ARM procis vason ügyködök, ezen szeretnék perl-es progikat írni amihez szükségem volna többek között a sorosportra is... amikor megpróbálom futtatni a Device-SerialPort makefile-ját, akkor ezzel dobja el magát:
root@om-gta02:~/perl/Device-SerialPort-1.04# perl Makefile.PL
To enable serial port tests, use:
perl Makefile.PL TESTPORT=
where is a specific port or 'auto' to autodetect.
Running ./configure ...
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
The 'configure' script didn't like something. It should have told you
what went wrong, but you can check 'config.log' for more details.
guglizva azt találtam, hogy tesztelni kell a gcc-t hogy egyáltalán fordít e... egy hello world progit próbálok vele fordítani, amire ezt dobja:
root@om-gta02:~/perl# gcc test.c -o test
gcc: error trying to exec 'cc1': execvp: No such file or directory
a gcc -v kimenete:
root@om-gta02:~/perl# gcc -v
Using built-in specs.
Target: arm-angstrom-linux-gnueabi
Configured with: /space/fic/openmoko-daily/testing-build/work/armv4t-angstrom-linux-gnueabi/gcc-4.1.2-r14/gcc-4.1.2/configure --build=i686-linux --host=arm-angstrom-linux-gnueabi --target=arm-angstrom-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++,objc --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --disable-libssp --disable-libmudflap --with-float=soft --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.2
és ezek a modulok vannak felrakva a vasra:
http://pc2car.hu/images/users/fpeter/SOM2416/gcc_gond.txt
tudnátok segíteni, hogy még mi hiányozhat, vagy mit hol kellene módosítanom?