Page 1 of 1

Problems installing TBS Drivers

PostPosted: Wed Mar 23, 2016 9:09 pm
by hanssol
Hi,
I have installed a fresh Centos 7. But when i want to install de TBS drivers i got errors.

[root@localhost ~]# sudo ./v4l/tbs-x86_64.sh
sudo: ./v4l/tbs-x86_64.sh: command not found
[root@localhost ~]# cd /linux-tbs-drivers
[root@localhost linux-tbs-drivers]# sudo ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
[root@localhost linux-tbs-drivers]# make
make -C /linux-tbs-drivers/v4l
make[1]: Entering directory `/linux-tbs-drivers/v4l'
Updating/Creating .config
/bin/sh: ./scripts/make_kconfig.pl: /usr/bin/perl: bad interpreter: Permission denied
make[1]: *** [.config] Error 126
make[1]: Leaving directory `/linux-tbs-drivers/v4l'
make: *** [all] Error 2
[root@localhost linux-tbs-drivers]#

Please help!

Re: Problems installing TBS Drivers

PostPosted: Thu Mar 24, 2016 1:23 am
by SergioDanielG
Hi hansool.

hanssol Wrote:...
/bin/sh: ./scripts/make_kconfig.pl: /usr/bin/perl: bad interpreter: Permission denied


Can you modify this file: v4l/scripts/make_kconfig.pl and change the first line
Code: Select All Code
#!/usr/bin/perl

to
Code: Select All Code
#!/usr/bin/env perl


Then try to make again and tell me if it works.

Kind regards.

Re: Problems installing TBS Drivers

PostPosted: Thu Mar 24, 2016 3:46 pm
by hanssol
[root@localhost linux-tbs-drivers]# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
[root@localhost linux-tbs-drivers]# make
make -C /root/tbs/linux-tbs-drivers/v4l
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
Updating/Creating .config
/usr/bin/env: perl: Permission denied
make[1]: *** [.config] Error 126
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make: *** [all] Error 2

Regards Hanssol

Re: Problems installing TBS Drivers

PostPosted: Thu Mar 24, 2016 4:01 pm
by hanssol
With the make -j4:

[root@localhost linux-tbs-drivers]# make -j4
make -C /root/tbs/linux-tbs-drivers/v4l
make[1]: Entering directory `/root/tbs/linux-tbs-drivers/v4l'
./scripts/make_kconfig.pl /lib/modules//build /lib/modules//build
Updating/Creating .config
/usr/bin/env: perl: Permission denied
scripts/make_makefile.pl
make[1]: execvp: scripts/make_makefile.pl: Permission denied
make[1]: *** [Kconfig] Error 126
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.media] Error 127
/usr/bin/env: perl: Permission denied
make[1]: *** [.config] Error 126
make[1]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l'
make: *** [all] Error 2
[root@localhost linux-tbs-drivers]#

Re: Problems installing TBS Drivers

PostPosted: Sun Mar 27, 2016 4:31 pm
by hanssol
Solved! I installed Ubuntu no it works perfect!