Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » compiling althea

UBBFriend: Email this page to someone!    
Author Topic: compiling althea
mulvihiw
Junior Member
Member # 79

posted September 07, 2001 08:50 AM      Profile for mulvihiw   Author's Homepage   Email mulvihiw   Send New Private Message      Edit/Delete Post  Reply With Quote 
Hi all,
I'm one of the developers of althea, an IMAP email client. In porting it to X windows on OS X, I've run into a little jam.
First, here is what I did to get to the point I am:
1. I have developer tools installed.
2. g++ is now c++
3. Installed the following packages from your site: XonX, gtk+, glib, gettext, libdl, libiconv.
4. Made some mods to the code. Bonus points to anyone who knows how to get the current timezone across different UNIXes (tzname works on Linux and others, doesn't on OS X )


So now, after make, I get the following:
[localhost:~/althea] mulvihiw% make
c++ -Wall -ftemplate-depth-30 -g -lssl -lcrypto -o althea main.cpp -DPIXDIR=\"/usr/local/share/althea\" support.o callbacks.o new_message_window.o about_window.o main_window.o Message.o Folder.o Server.o Configuration.o Althea.o ABEntry.o Addressbook.o load_config.o SendMail.o tcpUtilities.o imap.o basicNetwork.o SelectFolder.o print_dialog.o helpDialog.o smtp.o save_config.o configwindow.o registerwindow.o register.o crypto.o promptwindow.o progressbar.o tolower.o MIME.o `gtk-config --cflags` -DPACKAGE=\"althea\" -DLOCALEDIR=\"/usr/share/locale\" `gtk-config --libs`

/usr/bin/ld: warning can't open dynamic library: /usr/X11R6/lib/libXext.6.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)

/usr/bin/ld: warning can't open dynamic library: /usr/X11R6/lib/libX11.6.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)


But it does compile. But actually running the programs gives you:
[localhost:~/althea] mulvihiw% ./althea
dyld: ./althea can't open library: /usr/X11R6/lib/libXext.6.dylib (No such file or directory, errno = 2)
[localhost:~/althea] mulvihiw%

I'm guessing that I don't have all the necessary libraries installed, but which package should give them to me? I would have figured that libXext and libX11 would have been installed by default with X-Windows...

Thanks in advance and if I get this running, perhaps a package of the port of althea will be heading your way.


Posts: 1 | Registered: Sep 2001  |  IP: Logged
apex
Administrator
Member # 1

posted September 12, 2001 10:21 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
when you install Xfree86 you are able to choose to install some optional packages (if you downloaded them). I'm guessing you need Xlib.tgz and/or Xprog.tgz. See http://xfree86.org/4.1.0/Install.html
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2