General :: Automating The Package Configure Script Errors?
Mar 31, 2011
Need help in doing a tedious thing and no idea how to achieve this. The thing I am after is Makefile which generates after ./configure script runs successfully. Now the thing is when we run the `configure` script it may get stuck because of lots of reasons like needs mandatory options to pass with configure, library/header file is missing, etc. So I want to automate this problems as far as I can. As I am not installing the package so apt-get/yum won't hold here for me. So what should be your suggestions on achieving this. Should I study the configure script and the sample Makefile's inside the package
Still I am asked to package a war file as an RPM package. That is an unusual RPM packaging(To me). If you guys could guide me I have a war file inside a folder, that folder is inside a tar file as a SOURCE for RPM package. The structure is like below.
[Code]...
I simply want that the war file from sources is transferred to the web app of my tomcat server through RPM. I try to package it as an RPM, but its always giving me errors in %build stage. When I try to remove %build from stage from the spec file, then it says command missing.
My system details are: SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 1 LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
For a certain task, everytime I have to open 10 bash terminals and write different commands on them. Any way to automate this? I am running Fedora linux.
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!
I am a student at DeVry University, newly introduced to Fedora and Linux in general, and have a project whereby, we have been asked to consider some administrative tasks that we could automate via a script.I was wondering if there were any thoughts or directives from the community on what admin tasks you guys find to be of inestimable use in automating via a Linux script.
I am new to the Linux commands but have done a wee bit of programming before in C++ and others.I have also done basic DOS batch files before.
I wrote a script ages ago to automate an FTP transfer. This was easy as within the script you can specify the password with password <whatever>. Now I am wanting to do a similar thing with SFTP (SSH). I know that SFTP works differently and I cannot specify the password within the script - what do I need to do on the server I am connecting to to either "trust" the host I am connecting from or to somehow specify the password for "sftp user@some_host"? It's IP address will always be the same.
I need to copy all subdirectories and files from one directory to another ever 5 minutes or so, with the old data automatically being overwritten with the new data. I'd also like this to run at startup. Is there any way this can be done? If so, what program would I need to schedule the automation and what is the command line I would need.
So I don't like the new Amarok as much as the 1.4 version, so I want to install the older release. I download the source files, extract it and go into the directory. I type ./configure and recieve an error about kde-config not being installed, but "ln kde4-config kde-config" (or something like that) solved that problem. But now I encounter this problem after ./configure:
Code:
I already have a version of Qt installed (it's necessary for KDE, is it not?), but it's not between 3.3 and 4.0. I've read online about how if you install both the 3.3 and the version included on Slackware 13.1 of Qt there would be problems. I also read that you could find the necessary Qt files in the sources discs, but I'm not sure what files to install:
Code:
This is Slackware 13.1, by the way.
Do I have to shamefully resign my pride to Amarok 2.3 or can I install 1.4 in some way? And if you've gotten this far, thanks for reading and potentially responding.
I am trying to install a brand new installation of Opensuse 11.3 on a PC. I am using the Gnome desktop. When installing I get SO many errors saying "YAST2: package "xxx" could not be downloaded" or "installation of package "xxx.rpm failed." Ignore, Abort Retry.
I ran a checksum on the iso I downloaded from this site and it checks out. What is going on?
I'm totally new to ubuntu and i have a major problem with updating ubuntu, I was looking around for some linux based gaming and came across the online game called "Regnum Online". I installed it and all goes fine until I restart my computer next day, the top panel that usually has daily updates is missing and in its place is a red circle with an x through it I hover over it with my mouse and it reads: "An error occurred please run package manager from the right-click menu or apt-get in a terminal to see what is wrong."
Which I then right-click and open package manager and it gives the following response: "E: Type '<!DOCTYPE' is not known on line 2 in source list /etc/apt/sources.list.d/onemyndseye-regnum.list E: The list of sources could not be read. Go to the repository dialog to correct the problem. E: _cache->open() failed, please report."
At the bottom of this message reads: "this usually means that your installed packages have unmet dependencies." I don't want to lose my personal files by wiping and reinstalling ubuntu.
I'm getting the following error every time i run the package manager to install or update etc.. Code: E: nxserver: subprocess installed post-installation script returned error exit status 1 Despite the error, apt still works and allows me to install/remove apps. The application in question also works fine too.
This has been happening for over a week and is preventing me from installing updates, They all download OK then as they start to install I get this error message. Test Transaction Errors: package nss-softokn-3.12.4-19.fc13.x86_64 (which is newer than nss-softokn-3.12.4-17.fc13.i686) is already installed Then the update fails and I am unable to continue.
I am a complete noob with this OS, I left for a week in the hope it would sort it's self out.
I am using opensuse 11.3 on a computer with limited internet connectivity.Can anyone provide a list of essential libraries which would be enough for most applications. I get errors due to library missing while running configure script.
I have tried to automate the configuration of a usb drive with not much success.
The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.
I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.
Is there a way to use configure options with yum for packages? For example, i've got a lamp setup, and right now (after installing F11) i got a msqli class not found error, which means that it is not loaded into php. I see that it can be reconfigured with certain options, but i yummed it, and i'd like to keep it that way. I tried a yum reinstall, but it didn't work.
So, there are these source packages i downloaded, which i want to build with slightly different configure options due to a bug in debian: hfd5-serial and hdf5-openmpi cannot coexist, yet some packages require the serial version of the lib , others require the openmpi.
I downloaded the sources, in order to build them, without the hdf5 thing...
I have already built this from source in Scientific Linux, and i know this can be done without hdf5.
Where do i hack into the debian source tree of a package to remove a configure option...?
Anyone recompiled Empathy on Fedora? I have problem of configure and make as following:
checking for LIBEMPATHY... configure: error: Package requirements ( glib-2.0 >= 2.16.0 gobject-2.0 gio-2.0 >= 2.16.0 gio-unix-2.0 >= 2.16.0 libxml-2.0 telepathy-glib >= 0.7.31 libmissioncontrol >= 4.61 telepathy-farsight farsight2-0.10 gstreamer-0.10 ) were not met: No package 'telepathy-glib' found No package 'libmissioncontrol' found No package 'telepathy-farsight' found No package 'farsight2-0.10' found No package 'gstreamer-0.10' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBEMPATHY_CFLAGS and LIBEMPATHY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
I am trying to install kcachegrind and during the ./configure phase I got the following error: Checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
Now I guess I have QT installed and I tried to do the following: ./configure --with-qt-includes=/usr/lib64/qt4/include but that did not work either.. actually checking further I found that the folder include is missing in usr/lib64/qt4/ !!!!
I use Evolution Mail Client everyday on my fedora machine. It has become indispensable somewhat. I am wondering if Evolution can be made to run in the background without the GUI, so it can check mails (IMAP/POP) and post delivery reminders through notify-send. I don't mean evolution-notify-alarm ... I know evolution-notify-alarm runs like that but I think that is limited to calender events and tasks (using data mostly stored locally)
I find that I get notified via notify-send interface only when Evolution GUI is on or minimized. Is there a way to get a real background version of this activity - the GUI can then appear when the Panel Icon is clicked
I need to install "xorg-dev" package as a prerequisite for one program but when I try
sudo apt-get install xorg-dev it gives me the following errors
Quote:
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
And my /etc/apt/sources.list files looks like following:
Quote:
And I have upgraded my system from ubuntu 7.? to 8.04 .
trying to install Ns2 simulator on ubuntu 9, when I try to install the build-essential package ( the first step before the install of the Ns2, I get error that requires a depending on package (g++) after , then I tried to install the g++ package, it also give another required package, .... after getting all install, and try to install the build-essential package, I got another error message "broken package" what can the reason be!!, noticing that the same versions been tested and been installed before with friends! and no such error !!
here is the thing. I've deployed BackupPC in a server at work, and everything is working fine. Now, what I need to do this thing. I have a remote server with a website and a postgres db running. I've been able to set up everything to be backed up using rsync. But I would like to make the same process to restore the backup immediately in a local server trough rsync, that has to be ready just in case of failure of the remote server. What I've tried to do is to run the DumpPostUserCmd, so whenever a dump is performed in the remote server, I can have my local server updated. What I've find out is that when you perform a restore through the web interface, the command that performs it is (using ps ax in the backuppc server):
So, what I could find out is: /usr/bin/rsync is the command that the process runs in the server where I want to put the restore. Then the options, and finally, source and destination of the restoration. But, as you can see, the source is '.' but I cannot guess where to point that!
Basically, I go through certain logs on my linux hosts checking for anything out of place. You know, the usual, /var/log/messages, lastlog, etc. What I've been using is just a simplistic grep statement that looks for keywords in certain log files, such as warn, crit, etc., with the -i flag to ensure no case searches. I thought, well, surely there are others out there doing the same thing, but more automated. Perhaps something that can check files for keywords and then notify, via email, if anything out of the ordinary is seen.
I need to ask a question on many forums/mailing lists.In such a situation I need to open browser and login to many forums at the same time.Then go and format it according to forum guidelines and then paste it.So I want to know if I can automate this process some way by some alias or command line utility and just type the question in a text file and give URLs on command line and the question gets posted to those forums where I request?
My system is F13 (upgraded from F11) with all of the latest patches available. I haven't gone through and combined all of the rpmnew configuration files, but none of them seem to address networking.I'm trying to get subinterfaces (secondary IP addresses) to work in Fedora 13. So far, I have been able to configure them on the command line, but not to get them to persist on booting.My base address for the NIC is: A.B.C.254. It is statically assigned.