Bo Berglund wrote 6 lines
sudo apt-get install -y libx11-dev libgdk-pixbuf2.0-dev libcairo2-dev
gir1.2-coglpango-1.0 libpangox-1.0-dev xorg-dev libgtk2.0-dev
libpango1.0-dev
Is this what I need also on Ubuntu (i386)?
I did do sudo apt install build-essential since it did not have make...
Then I tried to build fpc 3.0.4 from sources freshly chacked out from the svn repo.
make all FPC=~/dev/fpc/ppc386
But it stopped after 1m32s with this at the end of he screen:
/usr/bin/ld: skipping incompatible
//usr/lib/x86_64-linux-gnu/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible
//usr/lib/x86_64-linux-gnu/libpthread.a when searching for -lpthread /usr/bin/ld: cannot find -lpthread
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libdl.a when searching for -ldl
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
fpmake.pp(47,1) Error: Error while linking
fpmake.pp(47,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
Makefile:1658: recipe for target 'fpmake' failed
make[2]: *** [fpmake] Error 1
make[2]: Leaving directory '/home/bosse/dev/fpc/3.0.4/packages' Makefile:2616: recipe for target 'packages_smart' failed make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory '/home/bosse/dev/fpc/3.0.4' Makefile:2812: recipe for target 'build-stamp.i386-linux' failed make: *** [build-stamp.i386-linux] Error 2
Probably some dependencies are missing from my Ubuntu 18.04, but what? Could it be the exact same items as on RaspberryPi???
Bo Berglund
Developer in Sweden