Moderator Control Panel ]

Building from source

Building from source

Postby zoolii » Thu Nov 13, 2014 11:40 pm

Hi all!

I am trying build from source MatrixTv ( my problem is that I think , dvb-api is compiled without libdvbcsa support) .

I get this error message:

scripts/rootfs
.
.
.
binutils already installed, skipping...
INSTALLDEV gcc-core
PACKAGEDEV gcc-core
cp: cannot stat() `.install/usr/libexec': No such file or directory
make: *** [rootfs] Error 1

Can anyone help me ,please?

Zoli
zoolii
 
Posts: 12
Joined: Tue Oct 21, 2014 1:52 am

Re: Building from source

Postby mijanek » Tue Nov 25, 2014 5:32 am

Hi zoolii,
I don't know what status you have, but this can be reason for many things..

Did you made right configuration using "make menuconfig" yet?
mijanek
 
Posts: 70
Joined: Wed Jan 08, 2014 1:32 pm

Re: Building from source

Postby vpeter » Tue Nov 25, 2014 3:27 pm

You need gcc 4.4 to compile matrixtv. At least few months back it was required.

Code: Select All Code
git clone git://git.code.sf.net/p/matrixtv/code matrixtv-code
CC=/usr/bin/gcc-4.4 make distclean
CC=/usr/bin/gcc-4.4 make menuconfig
# Goto Load config and open ../../../config/defconfigs/matrixtv.conf
# Goto Save config and save as .config
# Either leave everything as default or change what you wish, exit and save
CC=/usr/bin/gcc-4.4 make
# compile only one package (linux)
CC=/usr/bin/gcc-4.4 scripts/build linux
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Building from source

Postby zoolii » Thu Nov 27, 2014 5:49 pm

Thanks for answer guys ,but this not help me .

Menuconfig I use properly ,make with gcc-4.4 ends with:
.
.
.

/usr/bin/install -c -m 644 $file /matrixtv-code/build/build.sabresd.eglibc/gcc-core/.install/usr/lib/gcc/armv7-openbricks-linux-gnueabihf/4.8.3/; \
case $file in \
*.a) \
armv7-openbricks-linux-gnueabihf-ranlib ../.././gcc/$file ;; \
esac; \
done
make[2]: Leaving directory `/matrixtv-code/build/build.sabresd.eglibc/gcc-linaro-4.8-2014.04/objdir-gcc-core/armv7-openbricks-linux-gnueabihf/libgcc'
make[1]: Leaving directory `/matrixtv-code/build/build.sabresd.eglibc/gcc-linaro-4.8-2014.04/objdir-gcc-core'
cp: cannot stat() `.install/usr/libexec': No such file or directory
make: *** [rootfs] Error 1
zoolii
 
Posts: 12
Joined: Tue Oct 21, 2014 1:52 am

Re: Building from source

Postby vpeter » Thu Nov 27, 2014 6:11 pm

You should check you log from back and spot the error. The question is why .install/usr/libexec is missing. And you will not see this from last 10 lines.
.... make 2>&1 | tee log_file
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Building from source

Postby zoolii » Thu Nov 27, 2014 6:31 pm

/matrixtv-code/log_file 1087/1087 100%
scripts/rootfs
opkg-utils already installed, skipping...
opkg-host already installed, skipping...
. INSTALL opkg .]2;INSTALL opkg.
. BUILD opkg .]2;BUILD opkg.
. INSTALLDEV toolchain .]2;INSTALLDEV toolchain.
. PACKAGEDEV toolchain .]2;PACKAGEDEV toolchain.
. BUILD toolchain .]2;BUILD toolchain.
configtools already installed, skipping...
make already installed, skipping...
patch already installed, skipping...
ccache already installed, skipping...
sed already installed, skipping...
libeatmydata already installed, skipping...
pkg-config already installed, skipping...
m4 already installed, skipping...
autoconf already installed, skipping...
automake already installed, skipping...
libtool-host already installed, skipping...
binutils already installed, skipping...
. INSTALLDEV gcc-core .]2;INSTALLDEV gcc-core.
. PACKAGEDEV gcc-core .]2;PACKAGEDEV gcc-core.
cp: cannot stat() `.install/usr/libexec': No such file or directory
make: *** [rootfs] Error 1



With parameter make -d I get another 2 line on the end :



Reaping losing child 0x9af4338 PID 6916
make: *** [rootfs] Error 1
Removing child 0x9af4338 PID 6916 from chain.
zoolii
 
Posts: 12
Joined: Tue Oct 21, 2014 1:52 am

Re: Building from source

Postby zoolii » Mon Dec 01, 2014 4:13 am

Ok. I can not find a solution.
What linux distribution is the best for building from source? With what distro I can built this?
Thanks
Zoli
zoolii
 
Posts: 12
Joined: Tue Oct 21, 2014 1:52 am

Re: Building from source

Postby vpeter » Mon Dec 01, 2014 3:35 pm

zoolii Wrote:What linux distribution is the best for building from source? With what distro I can built this?
I don't know which one is the best but I'm using Ubuntu 12.04.5 LTS.
I think you should just look carefully through whole building log to find out why it fails.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: Building from source

Postby zoolii » Wed Dec 03, 2014 9:37 pm

Thank you very much !
Build on ubuntu working fine.Sorry I am not expert ,scripts in ubuntu installs required packagies automatically. Front of them I am probed on opensuse...
zoolii
 
Posts: 12
Joined: Tue Oct 21, 2014 1:52 am

Re: Building from source

Postby zoolii » Wed Dec 10, 2014 11:34 pm

So,I have compiled zipped file in binaries .What next ? How to get it to matrixtv ? Create SD card dont work me...
zoolii
 
Posts: 12
Joined: Tue Oct 21, 2014 1:52 am

Next

Return to General discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron