Project

General

Profile

Compile latest master from github on DEBIAN 9

Added by Bapak Ireng over 2 years ago

Hi,

i try to compile the latest master from gitbug on a DEBIAn 9 and received the following messages from
./comfigure:

checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc -Wunused-result ... ok
checking for cc getloadavg ... ok
checking for cc atomic32 ... ok
checking for cc atomic64 ... ok
checking for cc atomic_time_t ... ok
checking for cc bitops64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
checking for cc libdvben50221 ... ok
checking for cc ifnames ... ok
checking for py module gzip ... ok
checking for pkg-config ... ok
checking for xgettext ... ok
checking for msgmerge ... ok
checking for gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... fail (detected <none>)
checking for pkg libssl ... fail (detected <none>)
checking for cc openssl/ssl.h ... fail

openssl, libiconv-hook-dev libiconv-hook1 are already installed in their latest version.

regards, Ireng


Replies (48)

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

I am using stretch in a 64bit mode!
Jessie is obsolete!

RE: Compile latest master from github on DEBIAN 9 - Added by saen acro over 2 years ago

And who tell you that it cannot decide for you to use generic OS?

Am setting up VM with debian 9
soon will test building and installing ;)

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

Thank you! I'll check back later!

RE: Compile latest master from github on DEBIAN 9 - Added by Mark Clarkstone over 2 years ago

saen acro wrote:

And who tell you that it cannot decide for you to use generic OS?

Am setting up VM with debian 9
soon will test building and installing ;)

It works fine, I know because I've built [and installed] it loads of times on Stretch. The ./Autobuild.sh doesn't need

-t

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

Ok, this is NOT a matter of NOT compiling, it is a matter of to LOGIN successfully !!

RE: Compile latest master from github on DEBIAN 9 - Added by Mark Clarkstone over 2 years ago

Bapak Ireng wrote:

Ok, this is NOT a matter of NOT compiling, it is a matter of to LOGIN successfully !!

Have you tried the -C option, yes a capital, don't confuse it with the -c option.

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

already several time without any success!

see earlie this thread !!!

RE: Compile latest master from github on DEBIAN 9 - Added by Mark Clarkstone over 2 years ago

Bapak Ireng wrote:

already several time without any success!

see earlie this thread !!!

Ah, sorry. OK. Come talk to me on IRC & I'll teamviewer in & take a look for you if you like [I'm mpmc on #hts/freenode].

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

Firstrun is working, but if i login the next time it doesnot work !

not the admin user user1 and not the casual user user2......!!!

And I do not want to go through the init process each time ...that is definetely not in the mind of you developpers....isn't it ???

RE: Compile latest master from github on DEBIAN 9 - Added by Mark Clarkstone over 2 years ago

Bapak Ireng wrote:

Firstrun is working, but if i login the next time it doesnot work !

not the admin user user1 and not the casual user user2......!!!

And I do not want to go through the init process each time ...that is definetely not in the mind of you developpers....isn't it ???

Can you post the full console output from tvheadend?

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

Sorry, it dies without any console output, no info in /var/log/syslog either! I Started it including -d option!

tvheadend -d -u user1 -g video -s -f -c /home/user1/superuser

tvheadend -d -s -u user1 -g video -s -f -c /home/user1/superuser

RE: Compile latest master from github on DEBIAN 9 - Added by saen acro over 2 years ago

Bapak Ireng wrote:

Sorry, it dies without any console output, no info in /var/log/syslog either! I Started it including -d option!

tvheadend -d -u user1 -g video -s -f -c /home/user1/superuser

hahahahahaha

superuser is file what you expect

[email protected]:/home/hts/.hts/tvheadend# ll
общо 816
drwxr-xr-x 16 hts hts     4096 юли  9 21:34 ./
drwxr-xr-x  3 hts hts     4096 дек 25  2016 ../
drwx------  2 hts video   4096 май  7 23:50 accesscontrol/
drwx------  2 hts video   4096 юни  4 14:19 backup/
drwx------  2 hts video   4096 юни  5 02:04 bouquet/
drwx------  2 hts video   4096 май  7 08:33 caclient/
drwx------  4 hts video   4096 дек 27  2016 channel/
-rw-------  1 hts video   1128 юни  4 14:19 config
drwx------  4 hts video   4096 юни  5 22:13 dvr/
-rw-------  1 hts video 755541 юли  9 21:34 epgdb.v2
drwx------  3 hts video   4096 дек 27  2016 epggrab/
drwx------  2 hts video   4096 фев 12 16:44 esfilter/
drwx------  3 hts video   4096 дек 28  2016 imagecache/
drwx------  5 hts video   4096 фев 16 18:50 input/
-rw-r--r--  1 hts video     22 юни 26 19:34 .lock
drwx------  2 hts video   4096 май  7 23:50 passwd/
drwx------  2 hts video   4096 май 17 10:41 profile/
drwx------  2 hts video   4096 май 26 08:27 service_mapper/
-rw-------  1 hts hts       67 юни  4 14:19 superuser
drwx------  2 hts video   4096 мар  3 20:31 timeshift/


in debian ll command missing so ls -l

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

i put superuser file in the directory, containing

{
"username": "user1",
"password": "password_user1"
}

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

@saen acro

being an expert is one thing,

conveying knowledge and exerience to other people is definetly something different!

RE: Compile latest master from github on DEBIAN 9 - Added by saen acro over 2 years ago

Start read from beginning,
and you will see that all we telling you to do,
you somehow modify and not do correctly.

If you read my manual how to compile deb files on clean Debian/Ubuntu ...

Debian 9 x64 in Virtual Machine

some images of process

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

@saen acro:

Thanks for your comprehensive answer and guidance!

However, i'll try it tomorrow and will then get back to you!

Again, many thanks!

regards, Ireng

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

Followed your instructiuons step by step:

The image shows the result:

tvh1.png (257 KB) tvh1.png Result of compilation and Installation

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

additional image of build.linux:

tvh2.png (69.5 KB) tvh2.png

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

cd /opt & ll /opt:

output see image!

tvh3.png (20 KB) tvh3.png

RE: Compile latest master from github on DEBIAN 9 - Added by saen acro over 2 years ago

Bapak Ireng wrote:

Followed your instructiuons step by step:

The image shows the result:

Are you read manual?
near end there is explained how and where to start DPKG
in Linux Windows UNIX even DOS .. have same one meaning, aka upper level

So deb files in you case is in
/home/tvheadend/tvheadend (as on picture)

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

thanks I already got it.....

root:srv01:/home/tvheadend >dpkg -i tvheadend_4.3-295~ga9dffb7e9_amd64.deb

Input admin user: ireng, password

I use FF 54.0, when tvheadend starts I received input form from other user .

If i enter admin user & credentials; NO ACCESS!

tvh4.png (42.8 KB) tvh4.png
tvh5.png (21.6 KB) tvh5.png

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

from TVH remote client(tvhclient 1.9.8) on mobile (ANDROID) device the credentials for admin user works fine and login is possible!

What is the issue of FF 54.0 ???

regards, ireng

RE: Compile latest master from github on DEBIAN 9 - Added by Bapak Ireng over 2 years ago

FINAL Solution:

Blocked the predefined input from FF password manager!!!! Blocked the website of tvheadend!!!!!!

i verified it from another system as well !!!

Good NIGHT!

regards, ireng

(26-48/48)