Software :: Gcc Looking In Wrong Directory For Libfreetype.so While Compiling Xorg-server-1.1.1
Mar 17, 2010
I am building a BLFS (Beyond Linux from Scratch) system. I am using a Slackware style package management system. Currently I am trying to build xorg-server-1.1.1 but whn it come to finding libfreetype.so its looking in my build directory (/tmp/mybuild/pachage-freetype/usr/lib/) and not /usr/lib/. I checked /usu/lib/pkgconfig and found that my freetype2.pc (amongst others) file was pointing to my build dir so I fixed it (along with all the others). but when I try building again I gat the same error. I checked my $PATH and my $PKG_CONFIG_PATH and both are correct.
I am on my Debian system right now because of issues after compiling Linux 2.6.35, I followed Alien Bob's tutotorial, but obviously I missed something. I added 2.6.35 to my lilo.conf file, I tried to boot to it, but dhcp wasn't working, then I tried a startx and KDE would not load. No problem right, I will just boot my original Slackware Linux kernel.
I booted to the original, DHCP worked great but when I do a startx, I just get a black screen. Here is some of the terminal output.
Code:
No protocol specified waiting for X server to begin accepting connections. No protocol specified
[code]....
It's hard to get some of the output because I am looking at the other screen and typing this.
my laptop is running Slackware64 13.0. Today I tried to update to X.org 7.5 (version 1.7.1) from version 1.6.3 shipped with Slackware. I downloaded the relevant source tarballs from www.x.org and compiled them with no errors. The compiled packages are:
My laptop has an NVIDIA graphics card and I'm using the proprietary driver from NVIDIA. Thus I reinstalled the driver after the update and tried to launch X.org with "startx". After a short while the NVIDIA logo appears for some hundred milliseconds and disappears then. But now the screen is blank and it is not possible to switch to another VT via Ctrl+Alt+Fx. But it is possible to login from another computer and restart everything, so that I conclude that the system does not hang.
It is even possible to do work normally with the laptop from remote. If I try to kill the X-server, it ignores SIGTERM and has to be terminated by SIGKILL. But the laptop's screen stays black and empty and does not allow to switch to another VT (chvt terminates with "interrupted system call."). dmesg does not give any errors.
/var/log/Xorg.0.log:
Code:
X.Org X Server 1.7.1 Release Date: 2009-10-23 X Protocol Version 11, Revision 0
Here is my problem: I have a Vala program that includes classes with nested classes. When I try to initialize classes (using the variable type and the variable, followed by the class's arguments [three unsigned 8-bit integers] in parentheses) and try to compile the Vala code to C code what I tried to AVOID doing, as I really wanted to create a shared object file, but now I know I have to use C code as a middleman, the compiler tells me it expects a semicolon between the class variable name and its members.
What?! A semicolon in a bad place, that's for sure! Why would I want to put a semicolon *BETWEEN* the class initialization and its members? Isn't the whole point of a class to *HAVE* different members? Here is my class:
Code: public class Gtk.rgba : GLib.Object { public class fg_color : GLib.Object { private uint8 red; private uint8 green; private uint8 blue; //Constructor public fg_color(uint8 r, uint8 g, uint8 b) { [Code].....
I am fairly new to ubuntu. I have to compile some libraries under ubuntu in a directory other than the default directory and then get the shared object libs (.so) libs for building some custome kernels. I created a directory structure as follows:
/home/username/build-target /home/username/src-<libname> =>here are the source files for the lib. I need to compile
Now I create a directory /home/username/src-openssl and download the source code and untar it under this directory and issue ./configure --prefix=/home/username/build-target --exec-prefix=/home/username/build-target and then make and make install. I was expecting that the shared object libraries created (.so) files should have gone under /home/username/build-target/libs, however I just see only libssl.a and libcrypto.a and not .so files under the build-target/lib directory. For grep also I did the same thing as above however I don't see any lib directory created under build-target directory as I was expecting.
I wrote a program in c++ on fedora 11. When i compiled it using g++. it displays the following error:
g++ fibnocci.cpp fibnocci.cpp:2:22: error: iostream.h: No such file or directory fibnocci.cpp: In function int main(): fibnocci.cpp:8: error: cout was not declared in this scope fibnocci.cpp:8: error: endl was not declared in this scope
I am trying to write modular program but when I try to compile I come to know I don't have any files in /usr/src/linux. I have installed fedora 12 which has 2.6.31.5-127.fc12.i686.PAE. I am including in my code:
linux/kernel.h linux/module.h
Those are not present directory in /usr/src/linux is not present. My goal is to compile modular programs.
I'm having problems with compiling recursive Makefiles in my directory structure: My folder layout is: top/|- one/|- one.c (With main function)|- zero.c|- two/|- two.cin my top folder the make file looks like:
Code: MAKE_DIRECTORIES = one two .PHONY: all all: $(MAKE_DIRECTORIES)
.PHONY: $(MAKE_DIRECTORIES) $(MAKE_DIRECTORIES): @echo $@ $(MAKE) --directory=$@ in my one and two folder I have the following Makefile:
Code: .PHONE: all all: @echo $@ $(CC) $(CFLAGS) *.c But when I compile it from top folder: make
I get following output: Code: one two Which states that directory statement by echo in main Makefile is ok but the files are not compiled in one and two.
I'm new to fedora. I am using a core i3 desktop computer. I installed fedora 14 into my desktop and I Downloaded a wine 1.3.14.tar but I cannot install it. I tried tools/wineinstall in the terminal bu it say "Your directory is wrong".
I just did a clean install of 13.1 on one of my laptops and the scroll doesn't work on the synaptics touchpad. I've seen some comments about adding a file to the /etc/X11/xorg.conf.d/ directory. I don't have this directory. Is it ok to add this, or did I screw something up during the install. I did another 13.1 install about a week ago and it is also missing this directory. Is this just something in current and not in 13.1?
For some reason, my Slackware 13.0 system has multiple problems. When I do ldd /usr/bin/X | grep libpixman I show a libpixman which is NOT in /usr/lib.
whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated
I wanted to know how can I cross compile SMS SERVER TOOL for an embedded computer and make just one binary file for it or how can I change all of its default files places like its demon and object file and gather all of them to one directory to execute and use and run.let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.now you tell me what can I do to solving this problem.
I've got a DNS problem I cannot figure out. I've been digging and pinging all day and I've waited for caches to expire and I'm not having much luck.From my desktop mac, I can't seem to resolve mail.port-o-call.net:
After installing postfix on my server , all emails sent by a PHP class that i built , are received to spam folder , no matter what i do .am not an expert , except in PHP , the class i built works fine everywhere else except on this server , so i think the problem might be from the server it self ?some told me wrong configuration/software on my server , others told me wrong DNS stuff . actually i don't understand the DNS stuff , and am not an expert in linux softwares and services but i cann install/configure them , so could anyone please check the DNS for problems ?
I'm not exactly new to the linux world. I've been messing with it for six months now. I recently decided to host a public web server out of my home. The is nothing business related merely personal.Now that you have a brief background I will bring you the technical details.I'm apache2 with php, joomla, and mySQL on openSUSE 11.2. a dns server is currently configured. My problem is as follows I set up apache initially and used the default index.html page which simply says It Works. I configured my DNS at the domain registar godaddy.com. After changing the A record to point to my IP the server worked. I then proceeded to install Joomla which installed correctly.Now here is my problem. When I attempt to pull up my domain it appears my DNS is longer working properly and get a DNS error. When I attempt to go directly to IP with my server I still get the initial index.html that says it works. I'm not sure how this is possible and I have cleared all dns info, temp files cookies ect.... I have also had other people test this is as well. I've check my root document pointers for the apache website and they all point to the correct location.
My set up is as follows
Modem Router Windows 7 Machine Sun Microsystems Virtual Box with openSUSE with the network adapter bridged so it can obtain an IP from my router
I'm completely lost at this point and have spent 2 days trying to resolve the issue, any help would be much appreciated. I look forward to everyones reply.
I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.
I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:
aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/ mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Sat Dec 18 12:21:09 2010
I am trying to compile web polygraph 4.0.9 on Linux ES 3 and face the following error. how to have the following error resolved?
[root@Orchid polygraph-4.0.9]# make make all-recursive make[1]: Entering directory `/home/andy/polygraph-4.0.9' Making all in . make[2]: Entering directory `/home/andy/polygraph-4.0.9' make[2]: Leaving directory `/home/andy/polygraph-4.0.9'
We want to begin centralizing our system logs to a dedicated server, using a daemon that is flexible and offers more features. After some research, I decided to give rsyslog a whirl (versus syslog-ng).roblem has come down to compilation errors which, unfortunately, I've not been able to resolve otherwise (rsyslog forums) and it appears this is a larger problem with the product. So before I begin making another decision, I wanted to get some input from others here.Here is a snippet of the errors:
Code: /usr/local/src/rsyslog/rsyslog-5.4.0/runtime/queue.c:1291: undefined reference to `ATOMIC_SUB'
I m having a RHEL-5 sever.ABC directory size is 57GB after taking backup in the same disk with name ABC.bkp showing 56GB. i used below command to copy/backup. # cp -r ABC ABC.bkp (different sizes after copying)..I checked both the directory sizes by #du -sh <ABC> and du -ks <ABC.bkp>In both GB and KB there is lots of difference (200mb). why this will happen in copying? what is the solution for above question? what is the correct way of copying 1dir to newdir exactly?
I'm using OpenSSH 5.5p1 on Fedora 15. I'm trying to get a chrootDirectory to work. Specifically trying to figure out why I can't write files to a sub-directory of the chroot directory. I created a user test_user and created a group called sftp. I added test_user to the sftp group. I edited /etc/ssh/sshd_config as follows:
Code:
Subsystem sftp internal-sftp Match group sftp ChrootDirectory /home/sftp_users/%u X11Forwarding no
My asterisk version is 1.6 and Web-MeetMe is 4.0.2 I get the following upon issuing "make" in web-meetme/cbmysql/ :
Quote:
cc -pipe -I/usr/include/mysql -L/usr/lib/mysql -fPIC -I/usr/src/asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o app_cbmysql.o app_cbmysql.c app_cbmysql.c:14:22: error: asterisk.h: No such file or directory app_cbmysql.c:25:33: error: asterisk/autoconfig.h: No such file or directory app_cbmysql.c:26:27: error: asterisk/lock.h: No such file or directory
I wanted to cross compile sms server tools(url)for arm-linux with arm-linux-gcc compiler but I can not this is all information that I have from it's error:
[root@localhost smstools3]# cat Makefile # Makefile # If you change destination of executables, remember to change # startup script (init.d/sms3) too. #BINDIR=/usr/local/bin BINDIR=/mnt/sd/Utility/sms/ ///I changed here for cross compilation code....
Ubuntu server recently had issues with a disk. fsck seemed to correct everything, but I have one directory that I can't delete, chown, chgrp, chmod, etc.
Here's the listing for the directory dr-x-wxrwt 2 16709 25134 8192 2020-08-23 22:34 UDLEDATB.DBF
Note the sticky bit is set and the uid is a number that does not appear in /etc/passwd.
Even as root, any attempt to delete, chmod, chown, etc. gives "Operation not permitted".
Since sticky bit on a directory restricts delete to the owner and the owner is invalid, I am stuck. I need to delete this directory.
Having problems compiling a program on a new server. It compiles just fine on Ubuntu 8.0.4 server but a new install of the latest Ubuntu Server edition it throws out a bunch of warnings on configure. I am assuming I am missing some lib's or something of the sort.
Code: checking for sys/select.h... yes checking for sys/types.h... (cached) no checking for unistd.h... (cached) no checking for memory.h... (cached) no checking crypt.h usability... no checking crypt.h presence... yes configure: WARNING: crypt.h: present but cannot be compiled configure: WARNING: crypt.h: check for missing prerequisite headers? configure: WARNING: crypt.h: see the Autoconf documentation configure: WARNING: crypt.h: section "Present But Cannot Be Compiled" configure: WARNING: crypt.h: proceeding with the preprocessor's result configure: WARNING: crypt.h: in the future, the compiler will take precedence checking for crypt.h... yes checking assert.h usability... no checking assert.h presence... yes configure: WARNING: assert.h: present but cannot be compiled configure: WARNING: assert.h: check for missing prerequisite headers? configure: WARNING: assert.h: see the Autoconf documentation configure: WARNING: assert.h: section "Present But Cannot Be Compiled" configure: WARNING: assert.h: proceeding with the preprocessor's result configure: WARNING: assert.h: in the future, the compiler will take precedence checking for assert.h... yes checking arpa/telnet.h usability... no checking arpa/telnet.h presence... yes configure: WARNING: arpa/telnet.h: present but cannot be compiled configure: WARNING: arpa/telnet.h: check for missing prerequisite headers? configure: WARNING: arpa/telnet.h: see the Autoconf documentation configure: WARNING: arpa/telnet.h: section "Present But Cannot Be Compiled" configure: WARNING: arpa/telnet.h: proceeding with the preprocessor's result configure: WARNING: arpa/telnet.h: in the future, the compiler will take precede nce checking for arpa/telnet.h... yes checking arpa/inet.h usability... no checking arpa/inet.h presence... yes configure: WARNING: arpa/inet.h: present but cannot be compiled configure: WARNING: arpa/inet.h: check for missing prerequisite headers? configure: WARNING: arpa/inet.h: see the Autoconf documentation configure: WARNING: arpa/inet.h: section "Present But Cannot Be Compiled" configure: WARNING: arpa/inet.h: proceeding with the preprocessor's result configure: WARNING: arpa/inet.h: in the future, the compiler will take precedenc
I am writing an sample LDAP Plug-in on RHDS. While compiling plug-in file, i am getting an error related to missing header files(prtypes.h, prprf.h etc..).
'slapi-plugin.h' file is generated in the path /usr/include/dirsrv. But inside this file, they are using some other header files like prtypes.h, prprf.h, etc. But there is no files generated with this names. Because of this i am getting "No such file or directory" error for these files. I can get these header files from Netscape coporation(Thirdpary), but can we use the same header files for Redhat or is there any separate header files are there for RHDS.
I found in my xorg.0.log the the xorg ATI driver is failing ALL options.
Code: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 8.942] (WW) The directory "/usr/share/fonts/TTF/" does not exist. [ 8.942] (WW) The directory "/usr/share/fonts/OTF/" does not exist. [ 8.942] (WW) The directory "/usr/share/fonts/TTF/" does not exist.