bas-t / ffdecsawrapper

FFdecsa empowered softcam for MythTV
GNU General Public License v3.0
17 stars 9 forks source link

g++-4.7 and Ubuntu 12.04 TLS #9

Closed DingoSEAD closed 10 years ago

DingoSEAD commented 10 years ago

Hello g++-4.7 don't exist with ubuntu 12.04 TLS , it's g++-4.6

bas-t commented 10 years ago

Give me the output of

lsb_release -sc

I'll adjust the script

DingoSEAD commented 10 years ago

output : precise

bas-t commented 10 years ago

Pushed a fix

Let me know if it works for you

DingoSEAD commented 10 years ago

hoops

. / configure: line 685: Syntax error: Premature end of file

bas-t commented 10 years ago

Yeah, I know. fixed it

DingoSEAD commented 10 years ago

Wall -D__user= -g -o objs/forward.o -c -DRELEASE_VERSION=\"1.1.2\" -D__KERNEL_STRICT_NAMES -Idvbloopback/src -Idvbloopback/module dvbloopback/src/forward.c make: Wall : command not found make: [objs/forward.o] Erreur 127 (ignorée)

and many others

missing "g++ -" Wall.........

bas-t commented 10 years ago

Please pastebin the complete output of ./configure

DingoSEAD commented 10 years ago

add just "g++ -" before the command

bas-t commented 10 years ago

Before what command?

DingoSEAD commented 10 years ago

dvbloopback compilation sample: before your modification: g++ -Wall -D__user= -g -o objs/forward.o -c -DRELEASE_VERSION=\"1.1.1\" -D__KERNEL_STRICT_NAMES -Idvbloopback/src -Idvbloopback/module dvbloopback/src/forward.c

after : Wall -D__user= -g -o objs/forward.o -c -DRELEASE_VERSION=\"1.1.2\" -D__KERNEL_STRICT_NAMES -Idvbloopback/src -Idvbloopback/module dvbloopback/src/forward.c

bas-t commented 10 years ago

Does /usr/bin/g++-4.6 exist?

DingoSEAD commented 10 years ago

version 1.1.1 pastebin -> http://pastebin.com/8hQVyby1

version 1.1.2 pastebin -> http://pastebin.com/daxXxrPG

DingoSEAD commented 10 years ago

ubuntu 12.04 TLS know g++ and g++-4.6 command

bas-t commented 10 years ago

strange, on my computers it works allright I'll have to look into this. For some not obvious reason you don't get a $CXX For now you can configure like this:

./configure --cxx=g++

That has to work.

DingoSEAD commented 10 years ago

it's work with this switch

I think , the problem is at tihs ligne ./configure: ligne 70 : test: -gt : unary operator expected ./configure: ligne 72 : test: -eq : unary operator expected

yes , no?

bas-t commented 10 years ago

no

DingoSEAD commented 10 years ago

what is your version of Ubuntu?

bas-t commented 10 years ago

I don't run Ubuntu, I run Debian Wheezy (stable) and Jessie (testing)

bas-t commented 10 years ago

Please try this: change line 465 in configure from

CXX=g++-4.6

to

CXX="g++-4.6"

Maybe that solves it.

bas-t commented 10 years ago

I dropped the g++ stuff, so closing this now.