I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...
I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64
Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:
Code: [root@compaq 2.6.30.9-102.fc11.x86_64]# make CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 make[1]: *** No rule to make target `missing-syscalls'. Stop. make: *** [prepare0] Error 2
how to resolve this error? It seems to be fedora-centric.
The whole code is written in C, C++, and Fortran. Is it possible to make it to use more than 4GB memory. Now it is always crashed when it reaches 3GB memory. If it is possible, how to set up the compiling options (or configure flags)? We can use gcc, g++, ...or intel compilers our OS: Fedora 12 x32
I am running fedora 14 32 bit. I have upgraded from fedora 12 through 13 to 14 using the preupgrade method. I just ran a yum check which threw the following errors.
[Code]....
Odd that system-config-display is still a fc12 version and it seems it didn't get upgraded. I have no system issues.
I had a hard disk used entirely for data archiving (no os files in there!) and it just failed, so I opened up the PC case and removed it. The problem is that I had set it to be automounted on startup (specified in /etc/fstab), and now when Fedora is loading it outputs an fsck error "cannot find/locate a superblock in /dev/sdb1" (that is the removed drive) and it throws me to a "maintenance terminal". I tried to remove the /dev/sdb1 entry from /etc/fstab, but the system wouldn't let me save the new file because the filesystem was in read-only mode.
I just installed a new Ubuntu Studio 11.04 system at home yesterday. It was relatively painless at first but now I'm trying to compile some of the programs that I built the system for and
Code: ./make
simply is not working (returns command not found error). A makefile is present in both of the directories I'm working on.
Code: man make
works perfectly fine. apt-get install insists that make is present, it also insists that gcc and build-essential are present. Just for the heck of it I reinstalled build-essential but nothing changed. I hesitate to uninstall it or or uninstall make as I have several packages which depend on these and several more which recommend them.
I first got into Linux with Ubuntu Server 10.04 and I remember not being able to compile then but that was because I didn't have gcc or build-essential installed. Once I installed those packages everything was happy. Every google search I perform leads me either to "install build-essentiall / gcc" or to nothing at all. Thoughts on where I can go from here?
I've been trying to figure out how to use make and makefile to compile and link some .cpp/.h. All i seem to find on google says to read the README for the software. But this is my own created c++ project. Im just looking for a simple makefile for my own .cpp/.h files( about 20 total).
I have tried using 2 different makefile "examples" as a template, but neither worked. I am getting error saying "file1.cpp: no newline character at end of file". or something to that degree.
I'm trying to compile the D-Link netcard driver from the official source, and when I first ran "make," I got an error that "make" couldn't be found. So I installed "apt-get install make," then make told me that it needed gcc, I installed "apt-get install gcc." Now make says: make: *** /lib/modules/2.6.32-5-amd64/build: No such file or directory. Stop. make: *** [LINUX] Error 2 and exits.
I suspect that I need to install some package group which will handle the make and make install (rather than manually trying to fix one hole after another)
One of those odd things I learned the hard way is that if you are writing a shared object (library/.so) and any programs that will link to that library uses floating point numbers, the library must be compiled as if it uses floating point numbers. What that really means is, you need to declare at least one float in the source for the library or when the caller connects and tries to run code in the library, the process aborts.I end up putting a float pi (3.1415); in the code and getting an unused variable warning all the time. There has to be a simpler way, some flag to pass to g++ that says, "include floating point support even if you don't really need to."
p.s. Gosh I hope I remembered this correctly. I encountered this problem doing a multi-platform build for Windows and Linux. This COULD be a VC++ problem that I just carried into Linux by using the same source.
i'm trying to compile the latest version of wireshark,a network protocol analyzer for Unix and Windows. i switch to root account and issue ./configure,and then some error occur .some outputs was omited,the red fonts was the key!
[root@localhost wireshark-1.2.8]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking whether the C compiler works... yes [Code]....
I'm runing FC11 and have compiled the vanilla kernel 2.6.33.4 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd
I've been trying to make/compile the driver for a wireless card. The card is usb, it's titled Micronext MN-WD550M and seems to use the rtl8712 driver.Firstly, though I did this once two years ago I seem to have completely forgotten how to install a driver in ubuntu.
Secondly, I'm not sure I have the right driver anyway since in the notes in the readme it says it is for i386 (I run amd 64). The driver is here [URL] Thirdly, after clicking through various readmes and documentation without feeling any more intelligent, I then tried using ndiswrapper to install a windows driver and ubuntu would crash if the usb wireless card was plugged in. Blarg.I feel like this should be so simple I'm going to make a clean installation of ubuntu 10.10 shortly (for various unrelated reasons) so anything I messed up with ndiswrapper should be back to normal.
I'm trying to cross compile the GNU make for Alpha Architecture on my i686 PC and the GNU make i compiled would be placed in my virtual hard disk which is a Alpha based linux simulated system. My question is now , I'm able to cross compile the GNU make on my i686 real PC machine , but when i let the make program run in my virtual machine , it pops out the error ..
make: /lib/libc.so.6.1: version `GLIBC_2.4' not found (required by make)
After that, I try another alternative , and I read through the file "INSTALL" on the GNU make directory that I downloaded from the internet . In this case , I downloaded make-3.81. On the sub section "Compiling For Multiple Architectures" It says that
"You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script.`configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture." And I do not understand the line "by placing the object files for each architecture in their own directory" . What object files that I should put ?
This is the make step error./tmp/cctiuwxL.s is the make temporary dirictory which is distroyed after the make process finises . The problem is how can I hold the /tmp/cctiuwxL.s dirictory .Then I can check it and find out the proiblem.
whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this.
Actually I had a folder called Lib, in which I had a few libraries installed and configured.(MPI, PETSc, SLEPc) I accidently deleted (by rm) the contents of that folder.
Then I reinstalled MPI,PETSC,SLEPC using the same tarballs as earlier(thus, the version etc. is the same).
I already had a fortran program with many modules and subroutine files, and the corresponding makefile which used to compile and run fine. But now when I type "make" in the same directory as before, I get this: (shortened, many similar errors)
Code:
Firstly, why is mpif90 compiling my program when I didnt tell it to? In my makefile, I have specified gfortran as my compiler....nowhere have I even mentioned mpif90. Such a thing never used to occur before.
Also, if I rename file_variable.f to file_variable.f90, these errors dissappear (I understand why, but that is not the problem), but a new error comes:
Why is the new MPI installation interfering with make ? I want to go back to how things were before I stupidly broke all installations. The errors themselves are not the problem, the problem is why the new mpi installation is interfering with make.
It seems as if mpif90 has taken over make and gfortran. I suppose I didnt install it correctly, or probably I didnt uninstall the earlier one correctly.
Everything that worked earlier doesnt work suddenly. I use ubuntu 11.04 MPICH2-1.3.2
mount -t aufs -o dirs=$CHANGES=rw:/initrd/loopfs=ro none /unionCould anyone tell me what this command is trying to do..And, what could be the possible reason for it resulting in a segmentation fault
When I try to apply the latest updates on my 11.3 system, I get the following Warning. I think this is because I did the "switch system packages" to Packman after I installed it. What is the recommended solution?
Code:
#### YaST2 conflicts list - generated 2010-07-27 16:30:26 #### patch:k3b-2785.noarch conflicts with k3b.x86_64 < 2.0.0-1.1.1 provided by k3b-2.0.0-1.pm.2.7.x86_64 [ ] do not install patch:k3b-2785.noarch