Jump to content

Xcross87

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by Xcross87

  1. well, still in OpenOffice 3.0.1, cannot open .docx
  2. I'm curious a little about opening format Docx in OpenOffice 2.0 I searched through Net, they all use odf-converter after alienating RPM into Deb Pkg and make use of it. Is it possible in our Mandriva?
  3. Tks for helping me. I handled it ^^
  4. I've been experiencing of troubles in Mandriva and it's very tired to reinstall everything manually. I wonder if there is any way to list all installed packages and automate it with any program. RpmDrake doesn't support this.
  5. I wanna show too ^^ cairo-dock compiz-fusion ^^!
  6. guys, i wonder if there is a way to upgrade glibc-2.8 to glibc-2.9 from Mandriva 2009.0 (Errata) not 2009.1 (Alpha 1). as you know, Mandriva just release new in several months and it's quite annoying if I want to use a software that I'm required to upgrade to new versions. My current problem is that I want to install openLDAP but it requires glibc-2.9 (because glibc-2.8 has error in IPv6 iptables, you can see it here); therefore, I want to upgrade my current glibc. It would be crazy if everytime I need to install new Mandriva release in order to use the latest release of glibc. I need some supports. Tks !
  7. Could you send me the add of your repos? I use Mandriva 2009.0 not 2009.1 and I also searched through Internet to find out the package glibc-2.9 for it, but useless..
  8. Hey guys, I want to install openLDAP but somehow during installation I've got this error: error at 'make' command Making all in /home/xcross87/Download/openldap-2.4.16 Entering subdirectory include make[1]: Entering directory `/home/xcross87/Download/openldap-2.4.16/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/xcross87/Download/openldap-2.4.16/include' Entering subdirectory libraries make[1]: Entering directory `/home/xcross87/Download/openldap-2.4.16/libraries' Making all in /home/xcross87/Download/openldap-2.4.16/libraries Entering subdirectory liblutil make[2]: Entering directory `/home/xcross87/Download/openldap-2.4.16/libraries/liblutil' cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.7/include -I/usr/local/BerkeleyDB.4.7/include -c -o getpeereid.o getpeereid.c getpeereid.c: In function ‘lutil_getpeereid’: getpeereid.c:65: error: storage size of ‘peercred’ isn’t known make[2]: *** [getpeereid.o] Error 1 make[2]: Leaving directory `/home/xcross87/Download/openldap-2.4.16/libraries/liblutil' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/home/xcross87/Download/openldap-2.4.16/libraries' make: *** [all-common] Error 1 As I search through Google, most of the answers are about the bug of glibc-2.8 Then I check through Mandriva repository, currently it doesn't seem to be updated at all. Still GlibC-2.8 (20080520) in Mandriva repository. I try to download glibc rpm and install but failed. I'm wondering whether my openLDAP installation error is because of GlibC or not? If yes, how can I install or update new release of GlibC (2.9.90-7 is the latest) I need some helps. Tks
  9. I have a little problem like this. I put: my_header.h in /usr/local/include/mylib and its libraries in /usr/local/lib/mylib And then I write a small C script like this: /* source.c */ #include <mylib/my_header.h> int main() { my_function(); return 0; } I compile it: shell> gcc -o run source.c and got error: undefined reference to 'my_funtion' what happened? Can some1 explain and gimme solution? Tks so much.
  10. @lanw1974: if I miss any development files, the error should be different. @neddle: well, it's awesome recognition from apostrope and back tick. It solved the problem. But I still wonder why gcc use back tick o.@;; @scarecrow: I'm the big fan of Fedora and Redhat family. I always compile and install package manually; rarely use package manager. Slax is my favorite one of monolithic and disk space is not problem (well, honestly price is much cheaper nowadays) Thanks u guys for solution and suggestion :) [Problem Solved]
  11. Hi there, After a long trip to install all necessary package for programming, I have tried a small script to test gtk application in C: /* filename: gtkdemo.c */ #include <stdio.h> #include <gtk/gtk.h> int main(int argc, char* argv[]) { GtkWidget *window; gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_show(window); gtk_main(); return 0; } and then I compile and get errors: > pete cmd: gcc gtkdemo.c -o gtkdemo 'pkg-config --cflags --libs gtk+-2.0' gcc: pkg-config --cflags --libs gtk+-2.0: No such file or directory gtkdemo.c:2:21: error: gtk/gtk.h: No such file or directory gtkdemo.c: In function ‘main’: gtkdemo.c:6: error: ‘GtkWidget’ undeclared (first use in this function) gtkdemo.c:6: error: (Each undeclared identifier is reported only once gtkdemo.c:6: error: for each function it appears in.) gtkdemo.c:6: error: ‘window’ undeclared (first use in this function) gtkdemo.c:8: error: ‘GTK_WINDOW_TOPLEVEL’ undeclared (first use in this function) I search on Google, and all of them said because of environment variable PKG_CONFIG_PATH is not set to folder containing *.pc Afterward, I set my PKG_CONFIG_PATH variable: > pete cmd: export PKG_CONFIG_PATH=/usr/lib/pkgconfig > pete cmd: echo $PKG_CONFIG_PATH /usr/lib/pkgconfig I re-compile my source gtkdemo.c above again, BUT STILL THOSE ERRORS ???? Could any1 help me w/ this problem? p/s: WHY MANDRIVA MAKES IT SO HARD TO DEVELOP/PROGRAM??? [Redhat/Fedora/openSUSE/Slax/Ubuntu/openBSD...I've been used and much easier than MANDRIVA]
  12. I have a small script: # !/bin/sh # this script reads all files in the current directory and # prints out the file containing the string 'main' for file in * do if grep -q main $file then echo $file fi done exit 0 Here the result in terminal: > pete cmd: ls -asl total 92 4 drwxrwxr-x 2 xcross87 xcross87 4096 2009-02-13 19:57 ./ 4 drwxrwxr-x 4 xcross87 xcross87 4096 2009-02-13 19:14 ../ 8 -rw-rw-r-- 1 xcross87 xcross87 86 2009-02-10 21:18 bill.c 0 -rw-rw-r-- 1 xcross87 xcross87 0 2009-02-10 21:17 bill.c~ 4 -rw-r--r-- 1 root root 836 2009-02-10 21:20 bill.o 4 -rwxrwxr-x 1 xcross87 xcross87 199 2009-02-13 19:57 first* 4 -rw-rw-r-- 1 xcross87 xcross87 88 2009-02-13 19:46 first~ 8 -rw-rw-r-- 1 xcross87 xcross87 81 2009-02-10 21:19 fred.c 0 -rw-rw-r-- 1 xcross87 xcross87 0 2009-02-10 21:17 fred.c~ 4 -rw-r--r-- 1 root root 836 2009-02-10 21:20 fred.o 8 -rwxr-xr-x 1 root root 6147 2009-02-10 21:08 hello* 4 -rw-r--r-- 1 root root 1882 2009-02-10 21:24 libfoo.a 8 -rw-rw-r-- 1 xcross87 xcross87 36 2009-02-10 21:21 lib.h 0 -rw-rw-r-- 1 xcross87 xcross87 0 2009-02-10 21:21 lib.h~ 8 -rwxr-xr-x 1 root root 6257 2009-02-10 21:26 program* 8 -rw-rw-r-- 1 xcross87 xcross87 86 2009-02-10 21:22 program.c 4 -rw-rw-r-- 1 xcross87 xcross87 76 2009-02-10 21:22 program.c~ 4 -rw-r--r-- 1 root root 876 2009-02-10 21:22 program.o > pete cmd: ./first grep: 1: No such file or directory ^Z [11]+ Stopped ./first > pete cmd: /bin/sh first grep: 1: No such file or directory ^Z [12]+ Stopped /bin/sh first > pete cmd: But if I put this script in an empty folder: > pete cmd: ls -asl total 12 4 drwxr-xr-x 2 xcross87 xcross87 4096 2009-02-13 20:02 ./ 4 drwxrwxr-x 4 xcross87 xcross87 4096 2009-02-13 19:14 ../ 4 -rwxrwxr-x 1 xcross87 xcross87 199 2009-02-13 19:57 first* > pete cmd: ./first first > pete cmd: It totally works ! Can anyone explain this for me? I appreciate help. Sincere,
  13. I have several questions like these: 1. How to change to wallpaper (background) of grub bootloader when startup? 2. How to change the bootscreen (default is Mandriva bootscreen) theme? 3. I want to change my controls theme ( i download from art.gnome.org ); so how do I use it? (where to put those controls files?) 4. I'm having trouble w/ screensaver, I want to change screensaver. including lockscreen. I downloaded some from gnome-look.org then extract files to: /usr/share/gnome-screensaver, then change key: lock_screen_theme according to the one I downloaded but it seems like the background of lock-screen doesn't change (the default lockscreen is Mandriva screen), that's for lock-screen; and I dont know where to change add more screen-savers to the list (Screensaver Properties dialog). 5. Is there any way to reduce size of the system tray (i mean the main menu panel: Applications - Places - System)? It's kinda too large... (including icon size and panel size)? 6. My Firefox, some pages its size is too small, some pages its size is too big, often too bold also. How can I fix this problem? It's kinda totally different display when using firefox in Linux and Windows. Is there anyway to make the font display of Firefox in Linux same/similiar to Windows? 7. When I turn on 3D mode effects, choose Compiz-fusion but when restart all of my apps lose the title bar....what happened? 8. How to use compiz? (because i want to run AWN) I'm kinda new to Linux, so I really appreciate help from community. p/s: I love Mandriva :D
×
×
  • Create New...