DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-10-18 23:43:46

LuckyBlack
Member
Registered: 2009-04-30
Posts: 51

compile package problems

I followed the guide here

http://nas-tweaks.net/CH3SNAS:Tutorials … g_software

to set up the environment for compiling a package by myself

but when I try to compile it (the package is ffmmpegthumbnailer) i get an error

the step I followed are

cd /mnt/HD_a2/ffpbuildenv/
sh chroot.sh
cd /mnt/HD_a2/ffpbuildenv/source/
cd /mnt/HD_a2/ffpbuildenv/source/
./Make.sh -F <PACKAGENAME> (http://ffmpegthumbnailer.googlecode.com … 0.4.tar.gz) I changed <PACKAGENAME> whit link above

but i get this error "/ffp/bin/sh: ./Make.sh: not found" , How can I solve ???

Offline

 

#2 2010-10-19 00:59:38

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: compile package problems

DId you unzip and untar the source file first?


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2010-10-19 09:04:52

LuckyBlack
Member
Registered: 2009-04-30
Posts: 51

Re: compile package problems

I gunzippep and untar the source into the directory /mnt/HD_a2/ffpbuildenv/source

then
cd /mnt/HD_a2/ffpbuildenv/
sh chroot.sh
cd /mnt/HD_a2/ffpbuildenv/source/
./Make.sh ffmpegthumbnailer-2.0.4

but the result is the same

/ffp/bin/sh: ./Make.sh: not found

Last edited by LuckyBlack (2010-10-19 09:33:33)

Offline

 

#4 2010-10-19 13:42:27

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: compile package problems

Do you actually have a "make.sh" in that directory? If not, and you have installed the appropriate package, just type:
make {....}

It will use the makefile from the current dir


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#5 2010-10-19 15:16:12

LuckyBlack
Member
Registered: 2009-04-30
Posts: 51

Re: compile package problems

I have a Make.sh in cd /mnt/HD_a2/ffpbuildenv/source/

Last edited by LuckyBlack (2010-10-19 15:16:22)

Offline

 

#6 2010-10-19 23:45:09

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: compile package problems

Something within make.sh is not found then assuming you are type the filename exactly as it appears in the directory listing as linux is case sensitive.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#7 2010-10-20 06:22:03

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: compile package problems

Something in the make script is not being found, not the make script itself.

Can you post make.sh?

Last edited by bound4h (2010-10-20 06:29:09)

Offline

 

#8 2010-10-20 09:32:09

LuckyBlack
Member
Registered: 2009-04-30
Posts: 51

Re: compile package problems

attached is the content of Make.sh in /mnt/HD_a2/ffpbuildenv/source

and also there the content of /mnt/HD_a2/ffpbuildenv/source/ffmpegthumbnailer-2.0.4 the source code of package to compile

-----------------------------------------------------------------------------------------------

-rwxr-xr-x    1 1000     100            38 Aug  5 16:05 AUTHORS
-rw-r--r--    1 1000     100         18009 Aug  5 16:05 COPYING
-rw-r--r--    1 1000     100          4003 Aug  6 15:05 ChangeLog
-rwxr-xr-x    1 1000     100          6970 Aug  5 16:05 INSTALL
-rw-r--r--    1 1000     100          2877 Aug  6 15:05 Makefile.am
-rw-r--r--    1 1000     100         60111 Aug  6 15:06 Makefile.in
-rwxr-xr-x    1 1000     100             0 Aug  5 16:05 NEWS
-rwxr-xr-x    1 1000     100           386 Aug  5 16:05 README
-rwxr-xr-x    1 1000     100             1 Aug  5 16:05 TODO
-rw-r--r--    1 1000     100         41547 Aug  6 15:06 aclocal.m4
-rwxr-xr-x    1 1000     100         44941 Aug  5 16:21 config.guess
-rw-r--r--    1 1000     100          2264 Aug  6 15:07 config.h.in
-rwxr-xr-x    1 1000     100         34423 Aug  5 16:21 config.sub
-rwxr-xr-x    1 1000     100        541973 Aug  6 15:06 configure
-rw-r--r--    1 1000     100          4738 Aug  6 15:05 configure.ac
-rwxr-xr-x    1 1000     100         18615 Aug  5 16:21 depcomp
-rwxr-xr-x    1 1000     100         13663 Aug  5 16:21 install-sh
drwxr-xr-x    2 1000     100          4096 Oct 19 07:26 libffmpegthumbnailer
-rw-r--r--    1 1000     100           301 Aug  5 16:05 libffmpegthumbnailer.pc.in
-rw-r--r--    1 root     root            0 Oct 20 07:28 list.txt
-rwxr-xr-x    1 1000     100        253153 Aug  5 16:21 ltmain.sh
drwxr-xr-x    2 1000     100          4096 Oct 19 07:26 m4
-rw-r--r--    1 1000     100          7438 Aug  6 08:24 main.cpp
drwxr-xr-x    2 1000     100          4096 Oct 19 07:26 man
-rwxr-xr-x    1 1000     100         11419 Aug  5 16:21 missing
drwxr-xr-x    2 1000     100          4096 Oct 19 07:26 unittest

-------------------------------------------------------------------------------


Attachments:
Attachment Icon Make.sh, Size: 7,242 bytes, Downloads: 214

Offline

 

#9 2010-10-20 13:39:30

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: compile package problems

The most obvious question is did you install bash?

#!/ffp/bin/bash


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#10 2010-10-20 15:06:20

LuckyBlack
Member
Registered: 2009-04-30
Posts: 51

Re: compile package problems

i'll check it, will be useful for future packages to compile

but in the end i solved, because i found the ffmpegthumbnailer package compiled for dns-323

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB