Ubuntu :: Make A Automated Build-script With Bash

Apr 13, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors.

Code:

#!/bin/bash
gpg --import /home/epm/first_installation/config_chroot_sources_local.gpg
gpg --import /home/epm/first_installation/config_chroot_sources_packages-inl-fr.gpg

[code]....

View 5 Replies


ADVERTISEMENT

Programming :: Make A Automated Build-script With Bash?

Apr 14, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors that I can't seem to figure out. Could anyone please tell me what's wrong with this package of build-scripts? I'm posting the main build-script and attaching the rest of the scripts in a compressed form. The errors mainly comes from the scripts in "/first_installation/usr/share/siem-live/init"

[Code]...

View 2 Replies View Related

Programming :: Make An Automated Build-script With Bash

Apr 14, 2010

I'm trying to make a automated build-script with bash but I keep getting different errors that I cant't seem to solve for various reasons. what's wrong with this build-script? I'm posing the main build-script and attaching the rest of the scripts in a compressed form. Buld-script link: [URL]

[Code]....

View 3 Replies View Related

Ubuntu Security :: Script Running As A Special Build User Which Performs An Automated Build That Fails With (Too Many Open Files)?

Feb 11, 2011

I have an init script running as a special build user which performs an automated build that fails with (Too many open files).I updated /etc/security/limits to allow the special user more open files, but that didn't work - the init script still isn't allowed more open files.Here's a demonstration of the problem;

Code:
$ su - sbsbuild -c "ulimit -n"
Password:

[code]....

View 1 Replies View Related

Programming :: Bash - Automatically Build A Set Of Packages And Redirect Output Into Logs - Failed Make Should Return A Non-zero Value

Jun 27, 2011

I have a set of bash scripts that I'm running that automatically build a set of packages for me and redirect their output into logs. Basically, I have a bunch of lines that are something like this: ${CONFIGURE_DIR}/configure &> ${LOG_DIR}/log or cd ${CONFIGURE_DIR} && make &> ${LOG_DIR}/log, etc.

This is supposed to make the entire process silent. However, sometimes with some packages some output leaks to my console (either stdout or stderr). I'm thinking that maybe the configure scripts/make are executing commands within new shell instances that don't inherit my redirect, or something to that effect.

Another reason for thinking this is that in another part of my script I detect errors when running make by testing with "if [ $? -ne 0 ]", and if the redirect leaks to my console and also the leaked output indicates that the build failed ("make: Error" and so on), then my $? test fails (i.e., it thinks that $? == 0, whereas a failed make should return a non-zero value). It's as if my original script can't "see" the results from child commands executed from later scripts.

View 1 Replies View Related

Programming :: Creating An Automated Bash Scrpit

Feb 2, 2011

list the used variables.

1. display menu until user quits the script
2. menu would give following options to
a. create backup
b. restore files from backup
c. quit
3. for option a or b user would be required to specify the files and name of the archive]
4. has option to be run with use of parameters if that is the case it will not display menu but carry out required task unless it was not possible to do
5. incase of any errors are encountered it would call external scrpit that would display custom disigned error message.

View 6 Replies View Related

Fedora :: Checking Automated FTP Script's Status (Bash)

Jan 31, 2011

I am using an automated bash script to upload some files to a remote ftp server . The script is working fine as it is , however I need to check if it uploaded the file successfully or not , so it can remove them. This is the ftp part of the script which is working fine for uploading files.

[Code]...

View 2 Replies View Related

Debian :: Automated CLI / GUI To Make .deb From Source?

Jul 30, 2011

Presently I am following [./configure | make | checkinstall] way for local box.
And need gpg signature , copyright etc... for disturbing

Is there any automated CLI/GUI tool to make .deb from source ?

View 14 Replies View Related

Ubuntu Installation :: Build Essential But Make Command Not Working

Dec 14, 2010

I have build-essential, but make command not working I have build-essential package, but there is still a problem with make command. When I run it in a directory, it shows following message: mudassar@javaDev-1:~/Desktop/gwget-0.99$ make make: *** No targets specified and no makefile found. Stop. When I explicitly specify a make file, the following message appears:

[Code].....

View 1 Replies View Related

General :: Build Kernel With 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Using Ltib

Apr 29, 2010

I use ltib for mpc8272ads. How to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y'?

View 3 Replies View Related

General :: OpenSuse: Build Is Installed But Not Recognized By Make?

Jul 3, 2010

I was trying to follow instructions in [URL]

There is a reference to build in my kernel (with red background), se below:

linux-om4s:/lib/modules/2.6.31.5-0.1-default # ls
build modules.alias modules.alias.temp modules.builtin.bin modules.dep.bin modules.symbols source updates
kernel modules.alias.bin modules.builtin modules.dep

[Code]....

Both make and build have been properly installed in Software Manager.

View 6 Replies View Related

Debian :: Build Process - Use Sudo For Make Install - Difference?

Dec 26, 2010

What are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?

View 4 Replies View Related

Debian Multimedia :: Gnome 2.30 Build - LibIDL Make Error

Apr 7, 2010

Did not find much here regarding building Gnome 2.30 from source. I'm using jhbuild to build the gnome 2.30 desktop. I have everything, to my knowledge, installed to build gnome. I get an error when trying to build the libIDL library. Anyone have any clue as to what I need installed or changed in the configuration file to build libIDL?

View 1 Replies View Related

OpenSUSE :: Make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory

Feb 17, 2010

I'm attempting to install a WLAN card driver from source, as that's all that's available.I'm getting:

make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory

Build appears to be a link pointing to "/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop"."linux-2.6.31.5-0.1-obj" doesn't exist.

View 4 Replies View Related

OpenSUSE Hardware :: Build / Make Custom Driver Into Kernel?

Mar 29, 2009

I'm new to linux and recently installed openSUSE 11.1 on my Lenovo Thinkpad SL500. So far it's great... only problem is the hotkeys and brightness control don't work. Digging around online I found this "experimental" driver that purportedly works fine, but I have no idea how to compile, install, or otherwise use it. Here... tetromino's lenovo-sl-laptop at master - GitHub I'm not sure what to do with the makefile and C file provided. For example, what do I do with this instruction...

"To enable the brightness control, load the module with the "control_backlight=1" module parameter (i.e. insmod lenovo-sl-laptop.ko control_backlight=1 )" I know someone on here will be able to explain how to do this in a "computer engineering for chemists" language! I'm comfortable enough working in the terminal with commands, but have found no real straightforward explanation of how to do so (only "programming" experience is MATLAB m file writing).

View 9 Replies View Related

General :: Build Kernel With 'make CONFIG_DEBUG_SECTION_MISMATCH=y' In Ltib For Mpc8272ad

Apr 29, 2010

how to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y' I use ltib for mpc8272ads

View 1 Replies View Related

Software :: Make: *** /lib/modules/2.6.32-71.el6.x86_64/build: No Such File Or Directory

Mar 22, 2011

I then went agead to download ethernet realtek ethernet gigabyte card driver for my version of linux. I untar the file and i got the directory r8168-x.x.xxx.xx, a README file so i read the README file and it asked me to run ./autorun.sh which i did but i got the following error:

Check old driver and unload it.
Build the module and install
make: *** /lib/modules/2.6.32-71.el6.x86_64/build: No such file or directory. Stop.

[code]....

View 4 Replies View Related

Programming :: Build Chain (make Or Cmake) For *nix_Movemap Project?

Jun 29, 2010

[URL]...Now it works in Windows platform. Some functions rely on win-specific code and need to cross-platform alternatives. Can some one help to build chain(make or cmake) for this awesome project? any one can compile the Linux generator and transfer the project under *nix platform.

View 1 Replies View Related

OpenSUSE :: Error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory?

Oct 6, 2010

I've downloaded a linux driver for my wireless card (Realtek 8191SE), and whenever I try to make it it gives me the following error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2I have installed make, pattern devel_basis devel_C_C++, kernel-source, linux-kernel-headers, gcc43, etc.I also tried linking them:# ln -s /usr/src/kernel-headers-2.6.31.5-0.1-desktop /lib/modules/2.6.31.5-0.1-desktop/buildln: creating symbolic link `./build': File existslinux-ynct:/lib/modules # ls2.6.31.14-0.1-debug 2.6.31.14-0.1-desktop 2.6.31.5-0.1-desktop2.6.31.14-0.1-default 2.6.31.14-0.1-xen

View 9 Replies View Related

General :: Getting Error : Make: *** /lib/modules/2.6.31-20-generic/build: No Such File Or Directory On 9.1?

May 9, 2010

When trying to install my WiFi card's driver on Ubuntu 9.1, I run the make command and get the following error:make: *** /lib/modules/2.6.31-20-generic/build: No such file or directory

View 1 Replies View Related

Ubuntu :: Make-kpkg Strange Vanilla Kernel Build Errors: Found 60 Section Mismatch(es) ?

Apr 30, 2011

I've getting strange build errors when using make-kpkg with the latest (2.6.39-rc5) vanilla kernel.I'm using the procedure outlined here:
https:[url]....e.g.:

Code:
make oldconfig CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

I'm getting the following build errors:

Code:
Building modules, stage 2.
MODPOST 3053 modules
WARNING: modpost: Found 60 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC arch/x86/crypto/aesni-intel.mod.o[code]....

There is even much more error output but it looks like it is basically the same issue.

View 2 Replies View Related

Debian :: Installing Kernel Sources - Make Command To Build Package Fails

Jul 22, 2010

I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".

View 3 Replies View Related

General :: Can't Build RRDTool On RHEL4 - 'make' Command Give Error Message

Mar 19, 2010

I'm new to LinuxQuestions and this is my first post. I'm trying to build rrdtool to install Cacti and encountered the following problem: 'make' step returns an error messages:

Code:
./.libs/librrd.so: undefined reference to `xmlTextReaderGetParserLineNumber'
collect2: ld returned 1 exit status
What I have doneDownload and build the latest version of pkg-config, glib, pixman, cairo, pango, atk, gtk+ from official sites.
Download rrdtool source
Set PKG_CONFIG_PATH correctly

[Code]...

There is actually another problem with the computer which is "The Nautilus application has quit unexpectedly" everytime I open File Browser application or right-click>Properties a file/directory. This happen only after installing cairo and pango and I don't know how to revert to old version. Since there are a lot of log files so I'm very confused. Can someone give me a direction on how to resolve this?

View 3 Replies View Related

Ubuntu :: Error With "make" And "make Install" ".ko Failed To Build"

Aug 9, 2010

I have been trying to install a new driver for my wireless USB adapter, and I've been getting some "make" command problems and error messages. Specifically, I am installing the RaLink rt2570 USB Enhanced Driver to work with my Linksys WUSB100 adapter (chipset RaLink Rt2870).

I downloaded the package and used the readme from inside the package here:[url]

Here's what I have done directly after download to my desktop:

Code:

View 7 Replies View Related

Ubuntu :: Bash: How To Make ${var%% *} Work

May 1, 2011

bash: how do you make the construct ${var%% *} work? I am trying to select the first word from a variable which contains many space-separated words. I am running Ubuntu 10.10 with GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) and when I try to use this construct, the expression returns the complete variable with no removal of trailing anything.

View 3 Replies View Related

Ubuntu :: Need To Make Bash Script Files

Apr 16, 2010

I need to know what is the best method for teaching yourself how to make bash script files

View 8 Replies View Related

Ubuntu :: Make Bash Script Files?

Apr 16, 2010

I need to know what is the best method for how to make bash script files

View 4 Replies View Related

Ubuntu :: Make A Bunch Of Graphs Using Gnuplot From A Bash Script

Nov 14, 2010

I've been trying to make a bunch of graphs using gnuplot from a bash script. The tricky thing is that I have to divide values from two columns: Code: plot "results.csv" using 1:($4/$6) notitle with lp When this command is called from a bash script, the columns get mixed up with script arguments. how to make it read the column values like in the interactive mode?

View 1 Replies View Related

Ubuntu :: Bash - Make A Automatic Wordpress Installer Script

Mar 17, 2011

I'm trying to make a automatic Wordpress installer script. It's autmattically defaulting to the else.

[Code]...

View 2 Replies View Related

General :: Make A Bash Script Ask For A Specific Key?

Nov 21, 2010

I am attempting to learn how write bash scripts. I want one to ask for a specific key. For example, I want it to ask a question, then if it is like, y for yes, or n for no, it does a specific thing. I'm thinking it would be something like:

Code:

#!/bin/bash
echo "Are you a boy? y/n"
read -t3

View 14 Replies View Related







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