Comments (11)
./configure: 157: ./configure: cannot create /tmp/test.c: Permission denied
maybe you can it as root once but are not now?
On Sun, Feb 22, 2015 at 10:24 AM, pyahmed [email protected] wrote:
I'm trying to run the script on Ubuntu 14.10/64bit but at some point I get
the following error:Ok, done building MinGW-w64 cross-compiler(s)...
Building 32-bit ffmpeg...PKG_CONFIG_PATH=/home/dataman/sandbox/mingw-w64-i686/i686-w64-mingw32/lib/pkgconfig
Downloading (via git clone) dlfcn-win32 from
https://github.com/dlfcn-win32/dlfcn-win32.git
Cloning into 'dlfcn-win32.tmp'...
remote: Counting objects: 156, done.
remote: Total 156 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (156/156), 48.53 KiB | 0 bytes/s, done.
Resolving deltas: 100% (92/92), done.
Checking connectivity... done.
done downloading dlfcn-win32
./configure: 157: ./configure: cannot create /tmp/test.c: Permission denied
testing compiler:
/home/dataman/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc -shared -o
/tmp/test.dll /tmp/test.c
./configure: 163: ./configure:
/home/dataman/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc: not found
/home/dataman/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc could not
create shared file with Windows API functions.
Make sure your MinGW system is working properly.making /home/dataman/sandbox/win32/dlfcn-win32 as $
PATH=/home/dataman/sandbox/mingw-w64-i686/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
make -j 1Makefile:4: config.mak: No such file or directory
make: *** No rule to make target 'config.mak'. Stop.—
Reply to this email directly or view it on GitHub
#65.
from ffmpeg-windows-build-helpers.
This is a digital ocean instance. I get this when I run this as root:
Ok, done building MinGW-w64 cross-compiler(s)...
Building 32-bit ffmpeg...
PKG_CONFIG_PATH=/root/sandbox/mingw-w64-i686/i686-w64-mingw32/lib/pkgconfig
Downloading (via git clone) dlfcn-win32 from https://github.com/dlfcn-win32/dlfcn-win32.git
Cloning into 'dlfcn-win32.tmp'...
remote: Counting objects: 156, done.
remote: Total 156 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (156/156), 48.53 KiB | 0 bytes/s, done.
Resolving deltas: 100% (92/92), done.
Checking connectivity... done.
done downloading dlfcn-win32
testing compiler: /root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc -shared -o /tmp/test.dll /tmp/test.c
./configure: 163: ./configure: /root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc: not found
/root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc could not create shared file with Windows API functions.
Make sure your MinGW system is working properly.
making /root/sandbox/win32/dlfcn-win32 as $ PATH=/root/sandbox/mingw-w64-i686/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games make -j 1
Makefile:4: config.mak: No such file or directory
make: *** No rule to make target 'config.mak'. Stop.
from ffmpeg-windows-build-helpers.
clear your sandbox first?
On Mon, Feb 23, 2015 at 9:50 AM, pyahmed [email protected] wrote:
This is a digital ocean instance. I get this when I run this as root:
Ok, done building MinGW-w64 cross-compiler(s)...
Building 32-bit ffmpeg...
PKG_CONFIG_PATH=/root/sandbox/mingw-w64-i686/i686-w64-mingw32/lib/pkgconfig
Downloading (via git clone) dlfcn-win32 from
https://github.com/dlfcn-win32/dlfcn-win32.git
Cloning into 'dlfcn-win32.tmp'...
remote: Counting objects: 156, done.
remote: Total 156 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (156/156), 48.53 KiB | 0 bytes/s, done.
Resolving deltas: 100% (92/92), done.
Checking connectivity... done.
done downloading dlfcn-win32
testing compiler: /root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc
-shared -o /tmp/test.dll /tmp/test.c
./configure: 163: ./configure:
/root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc: not found
/root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc could not create
shared file with Windows API functions.
Make sure your MinGW system is working properly.making /root/sandbox/win32/dlfcn-win32 as $
PATH=/root/sandbox/mingw-w64-i686/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
make -j 1Makefile:4: config.mak: No such file or directory
make: *** No rule to make target 'config.mak'. Stop.—
Reply to this email directly or view it on GitHub
#65 (comment)
.
from ffmpeg-windows-build-helpers.
Yes - was done from absolutely clean state:
- new instance -> apt-get the deps as suggested by the script -> run the script.
from ffmpeg-windows-build-helpers.
OK I just built it on a DO "clean slate" as well and it worked OK.
I was root the whole time though it shouldn't matter.
testing compiler: /root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc
-shared -o /tmp/test.dll /tmp/test.c
Does /tmp/test.dll exist? Can you delete it?
does /root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc exist? can you
run it?
can you delete /tmp/test.c?
GL!
-roger-
On Mon, Feb 23, 2015 at 12:33 PM, pyahmed [email protected] wrote:
Yes - was done from absolutely clean state:
- new instance -> apt-get the deps as suggested by the script -> run
the script.—
Reply to this email directly or view it on GitHub
#65 (comment)
.
from ffmpeg-windows-build-helpers.
Does /tmp/test.dll exist? Can you delete it?
Does not exist.
does /root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc exist?
Does not exist.
can you delete /tmp/test.c?
Yes.
So I tried it again. Using the smallest digitalocean config (1CPU/512MB RAM) the script fails with the above error. When I do it with the slightly beefier config (2CPU/1GB RAM) it works perfectly. So seems to be a problem with number of cores or available RAM?
from ffmpeg-windows-build-helpers.
ahh interesting. Yeah with a small DO box you'd need to add some "virtual"
swap RAM
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
I'll add that as a note.
On Sat, Feb 28, 2015 at 5:10 AM, pyahmed [email protected] wrote:
Does /tmp/test.dll exist? Can you delete it?
Does not exist.
does /root/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc exist?
Does not exist.
can you delete /tmp/test.c?
Yes.
So I tried it again. Using the smallest digitalocean config (1CPU/512MB
RAM) the script fails with the above error. When I do it with the slightly
beefier config (2CPU/1GB RAM) it works perfectly. So seems to be a problem
with number of cores or available RAM?—
Reply to this email directly or view it on GitHub
#65 (comment)
.
from ffmpeg-windows-build-helpers.
OK note added
from ffmpeg-windows-build-helpers.
leaving open since I could warn even more...
from ffmpeg-windows-build-helpers.
added note, I believe.
from ffmpeg-windows-build-helpers.
ran into this again:
./configure: line 157: /tmp/test.c: Permission denied
testing compiler: /Users/rdp2/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-gcc -shared -o /tmp/test.dll /tmp/test.c
/Users/rdp2/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/bin/ld: cannot open output file /tmp/test.dll: Permission denied
collect2: error: ld returned 1 exit status
it was a permissions issue (just delete /tmp/test* to overcome) at least this time (I did add a "you don't have enough RAM" note as well)
from ffmpeg-windows-build-helpers.
Related Issues (20)
- failed configure mpg123_svn HOT 4
- Unknown option "--enable-libaribcaption" HOT 5
- failed: Connection timed out. HOT 1
- Compile issues in Ubuntu-WSL2 environment on Windows HOT 8
- Build problems with Ubuntu in WSL HOT 2
- win64 build fails on Ubuntu server 22.04 HOT 2
- build failed on colab!! HOT 7
- Building frei0r errors out HOT 8
- ERROR: nvenc requested but not found HOT 6
- Error with flag --enable-libnpp HOT 2
- Multiple libraries (libbluray, fontconfig, freetype) can't be found in pkg-config HOT 24
- Using docker makes an error when building shared version HOT 2
- ffmpeg won't build using the --ffmpeg-git-checkout-version flag HOT 9
- JPEG-XL
- [Request] Add support for `libvmaf_cuda` filter HOT 3
- libaribcaption version not updating automatically HOT 5
- does not script have no install location parament? HOT 1
- Leptonica Failure to Build HOT 9
- REQ: Prebuilt Compiler Option HOT 4
- Build flite failed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-windows-build-helpers.