Programming :: Can't Finish Make When Building Amfext (a Php Extension)?

Jul 16, 2010

I've spent all day trying to sort this out and I'm beginning to think this problem is specific to a Mac because I've managed to build this extension just fine on a debian vpsI'm trying to build the PECL extension amfext.I download the source to a folder and run the following:

Code:
sudo phpize --clean
sudo phpize

[code]...

View 13 Replies


ADVERTISEMENT

Programming :: PHP Log File Downloads After They Finish?

Jul 30, 2010

I'm writing a download script, that will serve files for download and that has to log each download. I'd write something like this:

Code:
log_downlad($file_id, $user_id...);
$dl_path = $server_mount."/".$file_hash...;

[code]...

View 1 Replies View Related

General :: Make A Variable = Filename Without The Extension?

Apr 23, 2011

I am trying to strip the .wav file extension from a file name so that I can pass the result to lame encoder. I started to write a BASH script that looks like this:

Code:

for f in /home/user/wavfiles*; do FILE=basename $f .wav; lame $FILE; done

It doesn't work very well though. For the life of me I can't seem to discover how to use basename in a suitable way for a script like this.

View 8 Replies View Related

General :: How To Profile Building Process (Make All)

Jan 28, 2011

I'm building the code on remote linux machines, and it takes very long time. Since all the filesystem is on NFS, I suspect the NFS is the bottleneck. Can I profile the build process (make all) down to system read/write calls? Or simply put, what tool do I need to find the bottleneck. Is strace gonna help?

View 1 Replies View Related

Slackware :: Make Failure When Building Bigforth?

Mar 16, 2011

I am trying to make a slackbuild for the bigforth package (source:[URL]However when I run make I get the following error messages:

Code:
bash-4.1# make
env LIBDIR=/usr/local/lib/bigforth SRC=/usr/local/lib/bigforth/src ./forthker -e " include startup.fb ' .blk

[code]....

View 4 Replies View Related

Slackware :: Building From Slackbuilds - Get Make Error ?

May 18, 2010

I have tried building a couple of packages like gst-plugins-bad, Qtcurve-Gtk2, but I get make error at this line:

Code:

For gparted I'm getting:

Code:

Using Slackware64 - current

View 14 Replies View Related

General :: Make A Default Application Open A Certain Extension File?

Nov 3, 2010

I know this is possible in GUI gnome. But is it possible to do it too in shell command? Let say if i type this in shell:

#file.txt

then it will open gnome-editor in nautilus which open file.txt. gnome is the desktop manager. nautilus is the explorer windows in gnome. gnome-editor is one like notepad in MS windows.

View 1 Replies View Related

General :: Building Application In Shell Using Make Command

May 26, 2011

Consider that I am building my application in Linux shell using make command but somehow the build fails. Is there any way I can find out that the build has failed (of course looking at shell for error messages will do the job for me but I don't want that). Is there any flag make or shell will set/reset if such failure occurs ?

View 5 Replies View Related

Software :: Make - Building Project With Different Linker And Compiler?

Jun 7, 2011

I am trying to recompile a large open source project with the Nvidia Cuda Compiler: 'nvcc' [URL].. nvcc supports all the compile flags that gcc does but not all of the linking options. This shouldn't be a problem however as nvcc generates object files that are compatible with gcc and I should hence be able to compile with nvcc and then link with gcc (linking against the CUDA library).

To compile with nvcc I use:
./configure CC=nvcc

Which successfully creates make files that se nvcc to compile. But the Configuration script does not seem to honor LD=gcc in the same way, ie: ./configure CC=nvcc LD=gcc still tries to link everything with nvcc which promptly fails because nvcc does not support the option '-soname' without which the project will not link correctly. What am I doing wrong? How can tell the config script to link with gcc?

View 1 Replies View Related

Debian Multimedia :: How To Make GNOME Extension Call Systemctl Hibernate

Oct 10, 2015

I'd like to know how I can modify an existing GNOME extension to call Code: Select allsystemctl hibernate

View 1 Replies View Related

Networking :: Error - Man/Makefile.am:11: `%'-style Pattern Rules Are A GNU Make Extension

Jun 24, 2011

I am facing an error when I run the following command.

Command: autoreconf -i
Error: man/Makefile.am:11: `%'-style pattern rules are a GNU make extension

[code]....

I'm using Fedora Core 11 on Dell Machine Precision 360

View 3 Replies View Related

Programming :: If User Use "Enter Key" On Keyboard It Cant Continue And Finish

Feb 24, 2011

I just write a script that check some thing. and I use

Code:
read -p " enter : " chk

it executed. but if a user use "Enter key" on keyboard it cant continue and finish.

View 7 Replies View Related

OpenSUSE Hardware :: Building MCS9865 Driver - Cannot Make Target Modules

Jul 14, 2010

I recently bought a pci multi io card to give my pc 2 parallel ports. For Linux, Moschip supply the source plus makefile and instructions. I ran make as root and got an error message
make: *** /lib/modules/2.6.31.12-0.2-desktop/build/: No such file or directory. So I created a folder called build in /lib/modules/2.6.31.12-0.2-desktop but that isn't good enough as I still get an error cannot make target modules. So I assume there must be something in the build folder. So what packages do I have to install to get the correct environment to be able to build the driver? Has anyone done this and can supply the driver for 11.2?

View 9 Replies View Related

Programming :: Bash Wait For One Line To Finish Before Going To The Next Line?

Jan 10, 2011

I have a wrapper script called MAIN.sh that runs several other script. It looks like this:

Code:
#! /bin/sh
script1.sh

[code]...

View 6 Replies View Related

Programming :: Firefox Extension To Handle URLs?

Jan 11, 2011

I want to write simple firefox extension / script or anything to change URLs from HTTP to HTTPS for selected websites (e.g. facebook). That thing is actually bypassing some security checks in my network.

Can anyone tell me how to proceed? I can deal with language as far its C++ or Python (something else would just take more time that's all )

View 1 Replies View Related

Programming :: Invoking Extension Files In Ubuntu?

Nov 18, 2010

I'm doing a project in Unix version Ubuntu 10.04. I'm doing an standalone app using C++(Qcreator) and GMT(generic mapping tool) so i need help in the following: how to invoke any extension files using C++?

View 1 Replies View Related

Programming :: Building One KDE Component With CMake?

Jun 21, 2011

Overnight, I upgraded from KDE 4.5.1 to 4.6.3 and had a rude awakening this morning when I found that KDE had managed to, once again, break the Task Manager "force rows" behavior which had been fixed a few major releases ago. I found this lovely patch that had been applied:

[URL]

And thus broken the functionality, and I want to recompile that particular plasmoid with the patch removed. However, I am completely unfamiliar with CMake or building anything at all, for that matter. All my programming is done in PHP which means I'm pretty much completely lost. I'm in the midst of pulling down the kde-workspace tree with git, and already downloaded and modified a separate copy of the file in question to look the way it is supposed to. I don't want to rebuild all of KDE, just the one module.

View 2 Replies View Related

Programming :: IDE For Building C Source Files?

Jan 18, 2010

I am trying to build an application on linux and it requires compilation of several files along with my application. Till now I have been trying using a makefile which is built for a test application which uses almost the same files as the mine by replacing its main.c file. But mow have ended up writing everything, function declarations, definitions... in the same file looks very unprofessional and is quite difficult to manage.

View 2 Replies View Related

Programming :: Find The Files With Extension .h Or .c With Bash Scripts?

Feb 3, 2011

i want to find all files with .h or .c extension and print them on the screen. How can i do it with bash script programming?

View 5 Replies View Related

Debian Programming :: Building Kernel Module

Dec 8, 2013

I'm trying to build the kernel module for dvbhdhomerun. The problem is the linux kernel headers provided by Debian do not have the dvb header files. Trying to set up my own kernel source tree to use is not working out so well.

I'm following the instructions in the Debian section here: [URL] ....

My first try compiled, but the modules ender up under /lib/modules/3.2.51/extra instead of /lib/modules/3.2.0-4-amd64/extra. Why?

I tried to start over, but noticed this while running apt-get source linux-image-3.2.0-4-amd64:

Code: Select allReading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'linux' as source package instead of 'linux-image-3.2.0-4-amd64'
NOTICE: 'linux' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/svn/kernel/dists/trunk/linux/

[Code] ....

The failure to verify the signature has me concerned, but beyond that, what do I do about the different version number when compiling and installing the kernel modules?

View 1 Replies View Related

Programming :: Building And Running New Kernel Modules In An X86 Pc

Sep 26, 2010

I have an x86 pc and installed lucid these are the details of my distribution version:

I am trying to build a kernel module i am getting the following error:

How to build kernel modules

View 3 Replies View Related

Programming :: Bash Script To Copy Specified Extension File From A Directory?

Mar 12, 2010

I have a directory and sub-directories (4 or 5 depths). There are several type with extension in them (*.mp3, *.wma, *.jpg, etc). I would like to copy the whole directory to another location recursively but only *.mp3 files.

View 11 Replies View Related

Programming :: Rename Files Recursively, Only Keeping Last X Digits Plus Extension?

Nov 29, 2009

My problem is this:I have a number of directories, all containing files of different name lenghts, including letters, numbers and possibly spaces. I want to recursively rename all of these files, so that only the _last_ 5 digits (not counting the extension) remain. In other words: I want to cut off all but the last 5 digits and not touch the extension.

I've tried to read up on tr, rename (perl version), sed, cut etc. and browsed through some threads here, but so far couldn't quite figure out how to do it.

If someone could point me to the right (standard) CLI tools and syntax.

View 2 Replies View Related

Debian Programming :: GCC Freezes When Building Package On Raspberry Pi

Apr 27, 2014

I'm trying to compile a project on my raspberry pi with little success. I typed export DH_VERBOSE=1 and added -v to the gcc options in the Makefile to see what was going on and this is the output. I'm trying to compile hda-jack-retask to get the raspberry pi headphone jack set to be a microphone jack. I want to be able to use the microphone jack as the input to xoscope, an oscilloscope program.

Code: Select allpi@raspberrypi ~/~diwic/+junk/hda-jack-retask $ dpkg-buildpackage
dpkg-buildpackage: source package hda-jack-retask
dpkg-buildpackage: source version 0.20120113
dpkg-buildpackage: source changed by David Henningsson <david.henningsson@canonical.com>
dpkg-buildpackage: host architecture armhf
 dpkg-source --before-build hda-jack-retask

[Code] ....

And it sits here for at least 24 hours. Alternatively, It looks like this program is part of the alsa-tools package in Ubuntu, but not in Debian. Need to figure out this freezing issue, should I pull down the Ubuntu source and build a debian package from that?

View 4 Replies View Related

Debian Programming :: Building Gtk-sharp2 Binaries On Testing

Nov 20, 2014

I am trying to build architecture specific binaries of gtk-sharp2. So far I have been unable to get gtk-sharp2 to build even without specifying a specific architecture. I got the source with apt-get source gtk-sharp2 and attempted ./configure, make, but it fails to build with the error message:

Code: Select allNo rule to make target 'thread.c', needed by 'thread.lo'.

I've also tried downloading the source directly from the mono project [URL] ...., but when building it fails with

Code: Select all#error "Only <glib.h> can be included directly."

This site [URL] .... provides a patch to fix the error, but when I applied it I got the same error.

I think the Debian version applied the patch correctly, but for some reason I still get that other error message.

These message outputted by configure may point to the problem:

"checking if gcc supports -fno-rtti -fno-exceptions... no"
"./configure: line 12920: enable_msi: command not found"

View 2 Replies View Related

Programming :: Rename File Names : Replace Dots By Spaces, Keep The Extension?

Mar 28, 2011

I am trying to rename a lot of files but need to keep the extension :

the files are films names :

a.b.c.d.***.iso

the result should be replacing "." by spaces " "

this command :

for files in *.iso ; do mv "$files" `echo "$files" | tr '.' ' '`; done

put a space also before the extension iso ??

How can I rename files from

"a.b.c.d.iso" to "a b c d.iso"

View 5 Replies View Related

Programming :: Building Cross Compiler Tool Chain On F14 For Other Distributions?

Apr 24, 2011

My Linux: Fedora 14 x64
My gcc: 4.5.1
My Glibc: 2.12.90

target Linux: "Ubuntu 8.04.4 LTS" hardy
target kernel: 2.6.24-29-server x64
target gcc: 4.2.4 target Glibc: 2.7

I need gcc/g++ and fortran. I Googled and most documents I found are somehow outdated and targeting for ARM, not for other Linux.

View 8 Replies View Related

Programming :: Building PPC476 Enabled GCC Cross Compiler / Tool Chain

Aug 2, 2010

I am trying to build a cross GCC compiler for PPC476. I applied all the relevant patches. Cross compiler build was successful. When I try to compile the source code using the cross compiler I am getting the below error message. I think this is something related to linker.

Code:
cow_shim_funcs_startup_shutdown.o cow_shim_utils.o ../../dm/cfg/cfgi.a ../../dm/pl2/libsas21xxpl.a ../../raid/pfk/libpfk.a
/home/Raghu/gcc/cross-compiler/ppc/tools/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../../powerpc-unknown-linux-gnu/lib/libgcc_s.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [app.out] Error 1

View 3 Replies View Related

OpenSUSE :: Xlib: Extension "Generic Event Extension" Missing On Display <my_ip>

Dec 28, 2009

After upgrading to 11.2, I get the following error when starting any xclient. Worse, its usually repeated a few times for each client.

Xlib: extension "Generic Event Extension" missing on display <my_ip>

I get this both when using Xming and nomachine.

View 2 Replies View Related

Programming :: Makefile - Error When Run The Make Run - No Rule To Make Target - Shell.h

Sep 15, 2010

I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)

My current Makefile

Quote:

#What needs to be built to make all files and dependencies

clean:

# End of Makefile

I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.

I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved