cannonbeach / ott-packager

OTT/ABR streaming encoder (H264/HEVC) and packager for DASH and HLS
GNU General Public License v2.0
228 stars 42 forks source link

Makefile:18: *** recipe commences before first target #35

Closed Yoda70 closed 2 years ago

Yoda70 commented 2 years ago

Hi,

I getting an error on first make command (ubuntu srv 20.04):

fulvio@transcoder:~/ott-packager$ make Makefile:18: *** recipe commences before first target. Stop. fulvio@transcoder:~/ott-packager$

It should be on this line: $(error Please make sure FDK-AAC is installed - missing ./cbfdkaac/.libs/libfdk-aac.a - please run setuptranscode.sh)

How I can fix it?

Thank you, Fulvio

cannonbeach commented 2 years ago

Did you run the setuptranscode.sh script?

On Tue, Apr 5, 2022 at 11:08 AM Yoda70 @.***> wrote:

Hi,

I getting an error on first make command (ubuntu srv 20.04):

@.:/ott-packager$ make Makefile:18: recipe commences before first target. Stop. @.***:/ott-packager$

It should be on this line: $(error Please make sure FDK-AAC is installed - missing ./cbfdkaac/.libs/libfdk-aac.a - please run setuptranscode.sh)

How I can fix it?

Thank you, Fulvio

— Reply to this email directly, view it on GitHub https://github.com/cannonbeach/ott-packager/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ3YII5NK5D6QEDQYWWVF3VDRQRTANCNFSM5STIKVQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yoda70 commented 2 years ago

`fatal: destination path './cbffmpeg' already exists and is not an empty directory.

No NVIDIA Hardware Found Installing x264 from cannonbeach fork fatal: destination path './cbx264' already exists and is not an empty directory. Unknown option --disable-shared, ignored

libtool: error: 'libSACenc/src/sacenc_bitstream.lo' is not a valid libtool object make: *** [Makefile:1490: libfdk-aac.la] Error 1 ERROR: libfdk-aac.a was not compiled correctly - aborting installation!`

Yoda70 commented 2 years ago

I get the error showed running the setuptranscode.sh script

cannonbeach commented 2 years ago

Can you go into the cbfdkaac directory and run the following one at a time?

./autogen.sh ./configure --prefix=/usr --enable-static --with-pic make

and let me know where it fails. It is possible the configure script failed due to a missing package or different build toolchain. What version of Linux are you running?

On Tue, Apr 5, 2022 at 2:50 PM Yoda70 @.***> wrote:

I get the error showed running the setuptranscode.sh script

— Reply to this email directly, view it on GitHub https://github.com/cannonbeach/ott-packager/issues/35#issuecomment-1089256305, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ3YIJLZ3UL7A6GHJEBZDTVDSKR7ANCNFSM5STIKVQQ . You are receiving this because you commented.Message ID: @.***>

Yoda70 commented 2 years ago

NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.4 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

Static hostname: transcoder Icon name: computer-vm Chassis: vm Machine ID: 5392b38e44aa40bab1fcfbf3cf9c278d Boot ID: f78180717df0492daf1d28fa8e555204 Virtualization: oracle Operating System: Ubuntu 20.04.4 LTS Kernel: Linux 5.4.0-107-generic Architecture: x86-64

Yoda70 commented 2 years ago

Yes, also this command fails

cannonbeach commented 2 years ago

Are you running desktop or server? Could you send me your entire script and build log?

Yoda70 commented 2 years ago

I used ubuntu server on virtual box vm, I tried with server 18 version and 20.04 without upgrade the OS after the installation and it works. Attached the script used in the faulty installation.

Il giorno mer 13 apr 2022 alle ore 17:17 Will @.***> ha scritto:

Are you running desktop or server? Could you send me your entire script and build log?

— Reply to this email directly, view it on GitHub https://github.com/cannonbeach/ott-packager/issues/35#issuecomment-1098179190, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYSI4RGFXMAMAUTJX6O2UX3VE3QQ3ANCNFSM5STIKVQQ . You are receiving this because you authored the thread.Message ID: @.***>

cannonbeach commented 2 years ago

What do you mean without upgrade? I have not run things using virtual box vm.

Yoda70 commented 2 years ago

After the installation I did apt update and apt upgrade, on another vm without upgrade it works with ubuntu server 20.04 or 18 I’m able to run in virtual box, using a vm with strong resorces RAM and core.

Inviato da iPhone

Il giorno 13 apr 2022, alle ore 18:30, Will @.***> ha scritto:

 What do you mean without upgrade? I have not run things using virtual box vm.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

cannonbeach commented 2 years ago

Can you send me the entire output log of your compilation?

On Tue, Apr 5, 2022 at 4:30 PM Yoda70 @.***> wrote:

Yes, also this command fails

— Reply to this email directly, view it on GitHub https://github.com/cannonbeach/ott-packager/issues/35#issuecomment-1089379416, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ3YINJPUHJJMDC44VNK3TVDSWIXANCNFSM5STIKVQQ . You are receiving this because you commented.Message ID: @.***>