Jump to content

AlxMAX

Members
  • Posts

    10
  • Joined

  • Last visited

AlxMAX's Achievements

New Here

New Here (1/7)

0

Reputation

  1. As I haven't found something similar, I would like to ask you some questions about rebuilding the glibc-2.3.5 package. Prior to any compilation, I have created a folder hierarchy in order to rpmbuild as a simple user and I created the .rpmmacros and the .rpmrc files in my home folder. So, I have downloaded the glibc-2.3.5-2mdk.src.rpm and I wanted it recompiled with gcc 4.0.1-0.2mdk and some pentium 4 optimisation flags: -O2 -pipe -march=i686 -mtune=pentium4. The only way to do it is by changing the glibc.spec file, more precisely in the BuildGlibc function. There, in the case $arch in switch, in the case $arch = i[3456]86, I have put BuildFlags="-pipe -march=$arch -mtune=pentium4" and then launched the compilation with rpmbuild -bb --target i686-linux glibc.spec. The compilation stopped saying there were no build-i586-linux folder for alternate ld.so test. Digging further in the specfile, I found these: case $arch in i686|athlon) base_arch=i586;; *) base_arch=$arch;; esac [[ "$arch" = "$base_arch" ]] && ! [[ -n "$nptl" ]] && return 0 [[ -d "build-$base_arch-linux" ]] || { echo "ERROR: PrepareGlibcTest: build-$base_arch-linux does not exist for alternate ld.so test" return 1 } check_flags="$check_flags -l build-$base_arch-linux/elf/ld.so" echo "%_smp_mflags -d build-$arch-linux$nptl $check_flags" >> $CheckList at the end of the BuildGlibc function. Could someone explain me what is this all about? I am confused by the switch/case and then by the single equal sign right after the end of the switch/case. Is it supposed to be like this or is it supposed to be a single equal sign? I have tried to put those lines like this: case $arch in i686|athlon) base_arch="i586";; *) base_arch=$arch;; esac [[ "$arch" == "$base_arch" ]] && ! [[ -n "$nptl" ]] && return 0 [[ -d "build-$base_arch-linux" ]] || { echo "ERROR: PrepareGlibcTest: build-$base_arch-linux does not exist for alternate ld.so test" return 1 } check_flags="$check_flags -l build-$base_arch-linux/elf/ld.so" echo "%_smp_mflags -d build-$arch-linux$nptl $check_flags" >> $CheckList but I still have the error.
  2. I still have this problem with Cooker harddrake.
  3. My laptop hasn't such an option in its BIOS. The only setiing concerning the monitors tells the computer wich is the primary and which is the secondary in the case two monitors are connected.
  4. Hi, I am currently experiencing an annoying problem with Mandriva 2005 LE on my laptop. As you may know, each laptop is able to display smaller resolutions than the native one in two ways: either the image is displayed in the centre of the panel or it is stretched to fit the panel area. Each laptop has a key combination to switch between these styles. My problem consists in a independent switch of displaying style upon reboot. I mean each time I reboot the computer, something in the OS switches the displaying style to the opposite of the current style. For instance, if a resolution of 800x600 is displayed in the centre of the screen, at the next reboot it will be displayed stretched and vice-versa, without touching anything or using the specific key combination. Does anyone have an idea what it may be? I suspect the things are changed at boot sequence (something like udev or harddrake), but I am not sure. Thank you.
  5. I guess this post can't be classified to Terminal Shell Commands, Kernel and Programming. It is rather Configuration related. Given the fact there's no Configuration section in the Advanced Topics forum, I posted it in the Software section of the General Help forum. Anyway, does anyone have a clue to my question concerning the X font server?
  6. Hi, I have tried to search on this forum for a similar problem, I have found individual posts mentioning high CPU load when launching applications and having set the UTF-8 encoding, but I haven't found a thread dedicated to it. The problem is quite annoying and basically it consists, as mentioned, in a high CPU load every time I launch an application like xmms, xfig, xfontsel after setting an UTF-8 based locale (like en_US.UTF-8, or en_IE.UTF8 etc). I have noticed the source of this high CPU load is in fact the X font server. Changing the font source in xorg.conf from the X font server (I mean this setting: FontPath "unix/:-1") to explicit font paths (with the setting: FontPath "/usr/X11R6/lib/X11/fonts/TTF" or whatever) does not solve the problem because this time it is the X itself which produces a high CPU load. This problem is not present on Fedora Core 3 (I mentioned this Linux distribution because I consider it the closest to Mandriva). My questions are: Is there a bug in xfs? Or should I recompile the Xorg and xfs to solve the problem? What are the files and settings that affect the xfs behaviour to encodings? Or is there a command to rebuild the font data in order to take into account the UTF-8 encoding? I was able to find some workarounds like renaming xfig to xfig.bin and creating a script named xfig which launces xfig.bin with a particular locale and wich makes xfig.bin think it was launched as xfig. But this solution is temporary and it has the disadvantage each time I reinstall a package concerning one of the binaries (xfig, xmms...) I lose the script. [moved from Software by spinynorman]
  7. It is possible to install Gnome 2.10 from the cooker branch. First, you have to add new media source as a mirror for cooker packages (in Media Manager of MCC). Then look at this link for programs needed to run Gnome 2.10. Finally, you can choose the packages to install in rpmdrake. I did it this way and now Gnome 2.10 runs fine on my computer.
  8. The security setting for my system is Standard. Does the system continue to behave like you described in that post even on this security level? Anyway, isn't it a harddrake related problem? Because when I replug the optical mouse, the Mouse section reappears.
  9. Hi, I would like to ask you a question about the system configuring programs. I have modified my /etc/X11/xorg.conf file in order to have both the touchpad and the optical mouse work at the same time or only the touchpad. The configuration did not need further modifications in case the optical mouse was removed. The file was written with the optical mouse plugged to the computer. Then I have rebooted the computer and plugged off the optical mouse (just to test the configuration). For some reason that I don't know, the xorg.conf file got modified after the reboot: the section concerning the optical mouse has disappeared and the touchpad section was changed to other settings. This is not a singular case because /etc/modprobe.preload was modified without my intervention. Could someone tell me what program is modifying those files and how can I stop him doing that? [moved from Software by spinynorman - welcome aboard :)]
×
×
  • Create New...