General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Make With Make File Yields Error - /usr/bin/javac: Cannot Execute Binary File

Nov 17, 2010

When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.

I get an error indicating that the make utility cannot execute the java compile command (javac).

The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file

I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.

I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6

My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu

However, I can manually compile using javac.

I can compile calling javac from within a bash script.

I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe

But I cannot compile java code from the makefile. Any reasons why I might be getting this error?

View 4 Replies View Related

General :: Difference Between Make And Make BzImage Commands?

Feb 23, 2010

difference between make and make bzImage commands as both are used to build source code.

View 1 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:

error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'

[code]....

View 5 Replies View Related

General :: Make Arithmetic Operation Of Data File With Script File?

Aug 31, 2010

I wonder how to arithmetic operation of our data file using any script program/command (like sed, cut,awk)for example my data.file is:

45 65 42
12 23 61
43 34 21

I want to multiply first column with 2 and add second column with 3 then it become

90 68 42
24 26 61
86 37 21

View 5 Replies View Related

General :: Configure File Successfully But Make File Displayed Some Errors?

Jun 29, 2010

i am having a problem concern zlib installation.i tried configure file successfully but make file displayed some errors.that usr/linux/limits.h not found.so i found that i have to install glibc-headers-devel...but there is no such a kind of package in ubuntu repository?/????/some people saying that libc6-devel is equal to them!

View 1 Replies View Related

Ubuntu :: Contex Menu [Make Link] Make Same File Size?

Dec 17, 2010

I notice that when you try to Make link to any file or folder form context menu, It just copy the same file size? even when i tried to copy the link to external storage disk..

View 1 Replies View Related

Ubuntu :: Showing File Permissions In File Roller?

Aug 23, 2011

How do I show a list column in file roller that shows permissions and ownership of files?

View 2 Replies View Related

Fedora :: Make A Script In Which Drag A File (with Spaces In File Name )?

Aug 2, 2011

i am trying to make a script in which i can drag a file (with spaces in file name ) and it will scp the file to another computermy code is

Code:
echo "--------------------------------------------"
echo "drag file now"

[code]....

View 7 Replies View Related

Programming :: Make A Folder For Each File In A Directory Then Move The File Into It

Nov 29, 2010

Initially I thought - use a for loop with ls in it:

Code:

However this causes lots of problems (folders have extensions, I have duplicate folders, the names with spaces create a folder for each element of the name).

The contents of the folder is basically movies (some with subtitles). Some of the names have things like (original) or CD1 CD2 in them.

View 15 Replies View Related

General :: How Do Make An Initrd File

Apr 17, 2011

I have compiled the linux kernel. My bzImage is 1,14 mb big

Anyway. It's only 2 programs i need and it's Python and Busybox. I have compiled python and busybox and put them together in a folder. Busybox is 146 kb and pyton is 4,4 mb.

But how do i make an initrd file of them? Or should a make an initrd file of them?

I get this error when a runt with a compiled busybox to gz format as initrd, and without initrd.

Quote:

VFS: Cannot open root device "sda1" or unknow-block(0,0)
Please append a correct "root=" boot option; here are the available partions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Pid: 1, comm: swapper Not tainted 2.6.38.3 #1

Do you know how to make an initrd?

View 4 Replies View Related

General :: Make A File Executable And Then Run?

Jan 24, 2010

I have created a file named as pm under the path /home/ppp/ i.e. /home/ppp/pmTo make it executable, I've used command: chmod a+x /home/ppp/pm while residing in root directory.But while trying to run from root by typing ./pm or within the directory /home/ppp, it was displaying that directory not found.Please help by providing the step by step procedure, so that I would be able to run my file from root or from the directory.

View 3 Replies View Related

General :: Make A File Read-only Even For Root?

Jun 2, 2010

Remember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:

Code:

attrib -r hello.txt

The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?

View 9 Replies View Related

General :: Chmod Make Any File Executable?

Feb 23, 2011

can chmod make any file executable?

View 4 Replies View Related

General :: Make A File A Executable Program ?

Dec 21, 2009

How Do I make a file a executable program ?

View 3 Replies View Related

General :: Create A MAKE File For Compiling?

Feb 24, 2011

I've gone through some online tutorial on how to create a MAKE file and actually I don't have a complete understanding of it specifically, linking the particular compiling program to a library and also creating a share/dynamic library.

View 4 Replies View Related

General :: Make .sh File Receive Data From Php?

Apr 17, 2011

in my php page they ask the user to enter some input example like year. i want that input to be transfer into my .sh file and will show its output. how to make .sh file receive data from php and php sent data to .sh file

View 1 Replies View Related

General :: Make A Usb File Drive Bootable?

Mar 6, 2011

I have Orace linux .iso's on a memory stick. I could burn them to CD's and install linux from the CDs. However I would rather not waste 5 CDs and just install from the memory stick. How can I do that? How do I make the memory stick bootable? I did try changing the boot options but I could find the right one.

View 8 Replies View Related

General :: Make A File/directory Transparent When It Is 'cut'?

Feb 6, 2010

I'm using ubuntu 9.10. I was wondering if it is possible to make a file/directory transparent when it is 'cut', like it is in Windows.

View 14 Replies View Related

General :: VPATH Mechanism In Make File?

Jan 11, 2010

i want to know, what is vpath mechanism in makefile?i did google search this,but i couldn't understand it as i am beginner in linux os. or either give me few simple links related to vpath mechanism.

View 1 Replies View Related

General :: Make A File Editable By Two Different Users In Different Groups?

May 11, 2010

I have a folder at /home/www/, and the owner is www, which is part of the www-group. I have another user, john, part of the john group. How can I chown /home/www/ to make it writable by both www and john?

View 2 Replies View Related

General :: Can't Make Boot File From Slackware ISO / Resolve It?

Apr 12, 2011

As part of instructions from Slackware Installation site, I am trying to make a boot file from the ISO (10.2VER). The command given: 'dd if=[image file name] of=/dev/fd0'
Tried image file 'bare.i' and also 'pportide.i'
Error from Red Hat OS: "opening 'pportide.i' no such file, directory" Also tried 'C:>RAWRITE bare.i a:' from WinXP command line with negative result.

Slackware help site:
'http://www.slackware.com/install/bootdisk.php'
I have not seen a command w/ 2 = symbols??
Installing to stand-alone desktop, PATA IDE Controllers. (ISO was copied with process: 'image burned to disk').v

View 9 Replies View Related

General :: Make A File System Like Ntfs Like RHEL5.0 ?

Apr 7, 2010

How to make a file system like ntfs in linux like RHEL5.0 ?

View 3 Replies View Related

General :: Make New File Permission Inherit From The Parent Directory?

Jun 12, 2010

I have a directory called data. Then I am running a script under the user id 'robot'. robot writes to the data directory and update files inside. The idea is data is open for both me and robot to update.

So I setup the permission and owner group like this

drwxrwxr-x 2 me robot-grp 4096 Jun 11 20:50 data

where both me and robot belongs to the 'robot-grp'. I change the permission and the owner group recursively like the parent directory.

I regularly upload new files into the data directory using rsync. Unfortunately, new files uploaded does not inherit the parent directory's permission as I hope. Instead it looks like this

-rw-r--r-- 1 me users 6 Jun 11 20:50 new-file.txt

When robot tries to update new-file.txt, it fails due to lack of file permission.

I'm not sure if setting umask helps. In anycase the new files does not really follow it.

$ umask -S
u=rwx,g=rx,o=rx

I'm often confounded by Unix file permission. Do I even have a right plan? I'm using Debian lenny.

View 4 Replies View Related

General :: Windows - Make Emacs Ignore Changes To File On Disk?

Jul 2, 2010

I'm using andLinux and for whatever reason, emacs seems to think that the file I'm editing has been changed every time I try to edit/save and keeps reprompting me. Very annoying. Is there a way to make emacs stop checking the file on the disk?

View 1 Replies View Related

General :: Make Sure The Compressed File Wont Be Larger Than 300mb?

Jul 14, 2011

i am using the following command to backup and sql file:

tar -zcvf "$BACKUP_DST/$FILE_NAME.tgz" "$BACKUP_DST/$FILE_NAME.sql"


i want to make sure the compressed file wont be larger then 300mb, if it exceeds 300mb, split it into several files.

View 1 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 :: Possible Too Use DD Command To Make Image File Of Blackberry 8330?

Feb 26, 2010

i was wondering if it is possible too use the DD command to make an image file of my blackberry 8330?i need it of the onboard memory and not the external memory card.

View 1 Replies View Related

General :: Can't Make Clear On Most Manpages - Can't Simply Usebzip2 File?

Feb 5, 2010

What they don't make clear on most manpages is that you can't simply usebzip2 thisfile.xxx that gives bzip2 free rein to include the original extension in the filename. You must use the -c tag (and better than that, the -c and -k tags, the latter of which leaves the original file untouched post-compression), then -if you wish- the level of compression to apply to a file (in the range of 1-9, with 1 being next-to-no compression and 9 the highest level of compression), followed by the filename/s to compress, then after a single space, a right-hand carat (">"), then another single space and the name you want to give the compressed bzip2 file, remembering to add the extension ".bzip2" (no quotes) to your filename.

Sounds pretty obvious, doesn't it? Well, I thought so too once I read a particular manual page and reasoned it out. Then I remembered the 15 or so minutes it took me to Google myself to that manpage, and I decided it was good Net citizenship to put up a little step-by-step like this one on an appropriate forum on which I was already a registered member.

It isn't just the C++ heads or the Python jockeys who need things broken down to their simplest bits for them from time to time. Newbies and near-newbies do, too. I took it as read that was the reason for this subforum, so here I went.

View 1 Replies View Related

General :: Make Error - Make[2]: *** No Rule To Make Target

Oct 7, 2010

I am getting an error as below.

How do I resolve the error: make[2]: *** No rule to make target `', needed by `mpg123'.

How can I resolve this error.

View 4 Replies View Related







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