Programming :: Package That Has To Configure With "make Menuconfig"?
Jan 19, 2011
I have a package that has to configure with "make menuconfig". I want to make this automatically. Usually I save the .config-File and replace the config with a skript, but the package I have to install has no .config. The manuall told me that I have to make the following steps:./configure --with-linux...makemake installIs it possible to use the saved .config-file?
I need to modify fs/open.c and fs/read_write.c to make my modifications. I cannot find any options in 'make menuconfig' to make these files modules rather than compiled elements. I'm thinking these cannot be modules because the file system won't work without open.c and read_write.c. Is this correct - I cannot compile fs/open.c and fs/read_write.c as modules, only as compiled elements? Or, is there some way for a module to overwrite these routines when the module is installed and re-enable the routines when the module is removed?
Trying to build a driver for a TV tuner card. When I enter 'make menuconfig', I get this error:
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64' /lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'. Stop. make[2]: *** [scripts_basic] Error 2
Suspect I need another package in addition to linux-headers. Running Squeeze, amd64, KDE.
I'm simply trying to compile a vanilla kernel from Kernel.org, I've done it before, however "make menuconfig" returns an error after I've made my changes to the config file.
Code:
Why is make returning that error? I am using a 64-bit kernel.
When configuring a custom kernel using fedoraproject.org instructions, the make menuconfig options for LIRC are not in the .config file anywhere. I checked the kernel tree and all the files are there in the .../drivers/input/lirc subdirectory (I need the lirc_dev and lirc_i2c drivers). I reset the .config to its original settings to make sure I didn't mess up. I also grep'ed the .config file for any LIRC related settings, none found. Also I'm not getting any sound from the radio-aztech driver.
I am looking for information to insert kernel module into kernel. I am not looking at dynamically insert of kernel module using insmod, modprobe etc. I am looking for statically insertion of kernel module procedure, such as what to change on makefile, what to change on menuconfig, what to change on .config file, etc.
I need to compile a program and make it portable to other computers, but it needs some external libraries and I don't want them to be linked dynamically, I would like to compile them as one single executable or at least compile them in the same directory as the main output files. The program is sphinx>, it has its own configure and make scripts. I know I can run g++ with the -static flag, but I don't know how to do this with make or configure. This is the ./configure --help output
I'm building a certain RPM package that must require an old version of that same package in order to be installed/upgraded. Is this possible?
For example:
For a package foo v5, somewhere in the spec file: "Requires: foo >= 4"
I'm declaring this on the Requires tag of the spec file, but when I try to install or upgrade the package (without having the previous required version installed) I get no dependency error! As for other dependencies it all works fine. If, instead, I create a package named "bar" that "Requires: foo >= 4", when installing I do get the expected dependency error. I'm thinking it's not possible to require an old version of the same package.
i installed a mail server in RHEL 5 with postfix, dovecot, openwebmail, but i failed to install chpasswd 2.2-4 i have ./configure, make, make install, but nothing happens can any one help me with some documentetion for chpasswd for changing password for mail account
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.
I'm experimenting with 2.6.33-ck1 mainly because I want to try the BFS. I successfully configured and installed the patched kernel, but I'm experiencing various problems on the desktop. The biggest is Chromium not working at all, but there are several others, including graphical glitches in firefox. I'm sure I left some important module off or made a mistake for some settings My question is that is there a 2.6.33-fc12 kernel yet, and does it have a .config available? I'd like to load those settings in menuconfig and use them as a starting point to properly configure and complie a -ck patched kernel.
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
I'm using SecureCRT on a Windows host to connect to Ubuntu 10.04 using the default VT100 setting, and having a problem working with Ncurses (ie. output from "make menuconfig":[URL]...
- The screen is difficult to read/navigate - Neither ESC nor F12 work so I can exit menuconfig
Is there any way to record kernel menuconfig screens? I would like to have a record of the configuration as it looks to the menuconfig screen user, with each successive sub-menu indented. Copy and paste gets the data but the frame/box drawing characters are messy. Here's the first menu:
I am interested in kernel configuration and compilation, so I have executed ltib and menuconfig, but I am not sure to understand what is the difference between Linux Target Image Builder and the Menuconfig tool? Is menuconfig used by or included in ltib? I understand that both tools generate a kernel, But I guess ltib can process "something more"? (packages/target selection? )
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
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 having trouble upgrading my broadcom drivers ( bnx2 ) for some reason i can't switch Broadcom NetxtremeII support from "built in " to module in menuconfig. can someone show me why this is the case?
[code]...
also i do have loadable module support enabled[*] Enable loadable module support
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/ !!!!
Seems it failed because I am missing a header file called allheaders.h. What is this and where do I get it? Here is the output of the configure and make commands:
/var/tmp/tesseract-ocr-read-only$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu
Its very easy to make DSL connection in the windows operating system.But I do not know how to configure my system to make connection on Linux.Anyone can suggest me what type of modem and router i should have to use to make a connection on the linux.If there any commands to make connection then mention it.
I am using Redhat enterprize linux and using ethernet card Realtek PCIe FE Family Controller. I tried to configure my network card. But unable to activate it as message appears "No such device found" I am using Dell inspiron laptop.
I have made a few programs, and I want to make them debian packages so I can distribute them, but the problem is that most tutorials on how to make a Debian package assume that you are not the person who started the source code, and that there are already things set up in the source code that will help you.
I switched to ubuntu around two months ago, and I'm loving it, everything I could need and more in an OS. I've just recently stumbled upon a problem; I tried to add Playdeb.Net's source URL and this came up on my Update Manager window; "Could not initialize the package information. An unresolvable problem occurred while initializing the package information. report this bug against the 'update-manager' package and include the following error message: 'E:Malformed line 62 in source list /etc/apt/sources.list (dist parse)'" package and include the following error message:
OK I am windows 7 user trying to update my old Dell M65 (more for educational purposes than anything else) I have tried several flavors of Linux. I've tried PCLinux OS and was OK but would not boot 30% of the time and had an edgy feel to it. So now I'm trying Ubuntu. I down loaded and boot to the CD. Nice. No network. No wireless. Could not find any kind of "Control Panel" to view system settings or hardware or add hardware. Found "Hardware Driver" and clicked wireless card driver and got to the internet. OK! Looks good, feels good, let's try it.
I installed it to the hard drive and seemed OK but no net work again. Went to "Hardware Driver" and no drivers are listed. Now what I do. I'm sure the driver is on the CD but how do I install it? I can't even tell Umbuntu I have a problem.