Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Waimea

  1. #11
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Waimea

    Well, I had already tried Google and FreshRPMS, to no avail -- but pbone had a packager there!

    [me=Schotty]bookmarks these guys ;D[/me]

    But alas, the package is now sending me into dependency hell .... I am about to kill people. All of the depenedencies are there.

  2. #12
    Guest

    Re:Waimea

    [quote author=Schotty link=board=6;threadid=6415;start=0#60530 date=1045807713]
    cflags = -g -O2 -I/usr/include/Xft2/X11/Xft -I/usr/include
    [/quote]

    change that to..

    cflags =-g -O2 -I/usr/include/Xft2 -I/usr/include
    run make && make install and everything shoulc be honkey dory

  3. #13
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Waimea

    Hmm, well that didnt work, but I am catching on to your logic and decided, since it gave freetype errors, I added that path in there too, to get :

    Code:
    cflags   = -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2
    Here is what that does ::

    Code:
    [schotty@leinenkugel idesk-0.3.5]$ make
    g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Desk.cc -o Desk.o
    cc1plus: warning: changing search order for system directory "/usr/include"
    cc1plus: warning:   as it has already been specified as a non-system directory
    In file included from /usr/include/png.h:321,
                     from Desk.h:11,
                     from Desk.cc:1:
    /usr/include/pngconf.h:247: syntax error before `.' token
    /usr/include/pngconf.h:248: parse error before `again'
    make: *** [Desk.o] Error 1
    [schotty@leinenkugel idesk-0.3.5]$
    Well I fixed what appears to be an error in the header file. Commented it out

    (I am putting this here so If shit is fucked up, I know what to correct ;D )


    Okay, I am hoping this means little, and is a breeze to correct --

    Code:
    [schotty@leinenkugel idesk-0.3.5]$ make
    g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Desk.c
    c -o Desk.o
    cc1plus: warning: changing search order for system directory "/usr/include"
    cc1plus: warning:   as it has already been specified as a non-system directory
    g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Icon.c
    c -o Icon.o
    cc1plus: warning: changing search order for system directory "/usr/include"
    cc1plus: warning:   as it has already been specified as a non-system directory
    g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Databa
    se.cc -o Database.o
    cc1plus: warning: changing search order for system directory "/usr/include"
    cc1plus: warning:   as it has already been specified as a non-system directory
    g++ -g -O2 -I/usr/include/Xft2 -I/usr/include -I/usr/include/freetype2 -c Main.c
    c -o Main.o
    cc1plus: warning: changing search order for system directory "/usr/include"
    cc1plus: warning:   as it has already been specified as a non-system directory
    g++ Desk.o Icon.o Database.o Main.o -o idesk `imlib-config --libs` -lXft
    /usr/bin/ld: cannot find -lXft
    collect2: ld returned 1 exit status
    make: *** [idesk] Error 1
    [schotty@leinenkugel idesk-0.3.5]$
    Whats your take on that? Is it not able to link to a library? Is that a minor fix to the makefile to tell it the path?

  4. #14
    Guest

    Re:Waimea

    I hope that you commented out the lines on pngconf.h not on Desk.h the lines that need to be commented out on pngconf.h are the following:

    /*# ifdef _SETJMP_H
    __png.h__ already includes setjmp.h;
    __dont__ include it again;
    # endif */
    also here is my Makefile which works like a charm under phoebe 8.0.9
    cc = g++
    #cflags = -g -O2 -W -Wall
    cflags¬*¬*¬* = -g -O2 -I/usr/include/freetype2
    libs¬*¬*¬* = `imlib-config --libs` -lXft
    bin = idesk

    objs = Desk.o Icon.o Database.o Main.o
    headers = Desk.h Icon.h Database.h


    all: $(bin)

    $(bin): $(objs)
    ¬*¬*¬*$(cc) $(objs) -o $(bin) $(libs)

    $(objs): %.o: %.cc $(headers)
    ¬*¬*¬*$(cc) $(cflags) -c $< -o $@

    install:
    ¬*¬*¬*install $(bin) /usr/local/bin

    clean:
    ¬*¬*¬*rm -f $(objs) $(bin) *~ core
    by the looks of your flags this makefile should work on your system as well I know that I should perhaps posted it earlier but I hesitated due to the fact that different systems throw libraries onto different places.

  5. #15
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Waimea

    Well that still doesnt work. I need the one extra -l option for Xft. But the one thing i notice is this,

    Code:
    g++ Desk.o Icon.o Database.o Main.o -o idesk `imlib-config --libs` -lXft
    /usr/bin/ld: cannot find -lXft
    collect2: ld returned 1 exit status
    That still is popping up now. If I do a imlib-config , I dont see -lXft (should it need to be there?). And I can compile other applications just fine. I am baffled. I read over what imlib_config does and I tried adding in specific paths to libraries, no luck...

    I dunno about you, but this is getting old

  6. #16
    Guest

    Re:Waimea

    Xft is part of the Xfree86-libs package make sure that you have it installed, it should look like this /usr/X11R6/lib/libXft.so.1. If however you dont have it installed, hunt down XFree86-libs-4.2.1-9.i386.rpm where 4.2.1-9 is whatever version of XF86 you are running. Also make sure that /usr/X11R6/lib is being looked up by the linker, to make sure edit the /etc/ld.so.conf file, it should look something like the following:

    /usr/X11R6/lib
    /usr/local/include
    Hope that helps.

  7. #17
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Waimea

    Well /usr/local/include wasnt there, so I added it :

    Code:
     sudo vim /etc/ld.so.conf
    Password:
    [schotty@leinenkugel schotty]$ sudo ldconfig
    [schotty@leinenkugel schotty]$ cd idesk-0.3.5
    [schotty@leinenkugel idesk-0.3.5]$ ls
    Database.cc  Database.o  Desk.h  Icon.cc  Icon.o   Main.o    README
    Database.h   Desk.cc     Desk.o  Icon.h   Main.cc  Makefile
    [schotty@leinenkugel idesk-0.3.5]$ make
    g++ Desk.o Icon.o Database.o Main.o -o idesk `imlib-config --libs` -lXft 
    /usr/bin/ld: cannot find -lXft
    collect2: ld returned 1 exit status
    make: *** [idesk] Error 1
    [schotty@leinenkugel idesk-0.3.5]$ imlib-config --libs
    -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -
    lSM -lICE -lXext -lX11
    [schotty@leinenkugel idesk-0.3.5]$ sudo rpm -qa | grep XFree86-libs
    XFree86-libs-4.2.0-72
    [schotty@leinenkugel idesk-0.3.5]$ sudo rpm -qa | grep XFree86     
    XFree86-tools-4.2.0-72
    XFree86-truetype-fonts-4.2.0-72
    XFree86-Mesa-libGL-4.2.0-72
    XFree86-twm-4.2.0-72
    XFree86-75dpi-fonts-4.2.0-72
    XFree86-xfs-4.2.0-72
    XFree86-libs-4.2.0-72
    XFree86-100dpi-fonts-4.2.0-72
    XFree86-DPS-4.2.1-6
    XFree86-devel-4.2.0-72
    XFree86-4.2.0-72
    XFree86-xauth-4.2.0-72
    XFree86-xdm-4.2.0-72
    XFree86-Mesa-libGLU-4.2.0-72
    XFree86-base-fonts-4.2.0-72
    XFree86-font-utils-4.2.0-72
    [schotty@leinenkugel idesk-0.3.5]$ sudo cat /etc/ld.so.conf 
    /usr/kerberos/lib
    /usr/X11R6/lib
    /usr/lib/sane
    /usr/lib/mysql
    /usr/lib/qt-3.0.5/lib
    /usr/lib/wine
    /usr/local/lib
    /usr/lib
    /usr/lib/xmms/Input
    /usr/local/include
    [schotty@leinenkugel idesk-0.3.5]$ ldconfig -p | grep Xft
    libXft2.so (libc6) => /usr/lib/libXft2.so
    libXft.so.2 (libc6) => /usr/lib/libXft.so.2
    libXft.so.1 (libc6) => /usr/X11R6/lib/libXft.so.1
    [schotty@leinenkugel idesk-0.3.5]$
    Hmmm eh?

  8. #18
    Guest

    Re:Waimea

    my guess? if you have xft2 installed that is your trouble. i think it is likely looking for xft1.

  9. #19

    Re:Waimea

    This is the latest version of iDesk, yes? Sarah could be right here.

  10. #20
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Waimea

    [quote author=sarah31 link=board=6;threadid=6415;start=0#60730 date=1046121969]
    my guess? if you have xft2 installed that is your trouble. i think it is likely looking for xft1.
    [/quote]

    I already installed that. I think. Would that be these :

    Code:
    [schotty@leinenkugel grub]$ sudo rpm -qa -provides Xft
    libXft.so.2  
    Xft = 2.0-1
    [schotty@leinenkugel grub]$

Similar Threads

  1. Waimea...installed...not working
    By cybspur in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 04-01-2003, 05:18 AM
  2. Running Waimea
    By papanohair in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 12-12-2002, 01:41 PM
  3. Waimea screenshot
    By ursidae in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 05-15-2002, 12:04 PM
  4. Waimea
    By papanohair in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 05-13-2002, 12:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •