![]() |
Compiling Gaim
has anyone gotten gaim 0.62 to compile successfully. during ./configure, it keeps complaining that gtk 2.0 is not installed. i looked in the config.log and it says something about gtk.h not found.
i have gtk 2.0 installed through Fink. i set the CFLAGS and LDFLGS in my .tcshrc. and just to make sure, i made a link in /usr/local/include to /sw/include/gtk-2.0. still, configure says gtk 2.0 not found (gtk.h is usually located in /usr/local/include/gtk-2.0/gtk/, at least on my linux machine). can anyone gimme some pointers? thank you. |
propheci,
With Fink you can install 'gaim-0.59.8-1' from stable or 'gaim-0.62-1' if you enable unstable. Anyhow, 'gtk.h' should be in /sw/include/gtk-2.0/gtk/gtk.h "If a package does not use these variables, you may need to add the "-I/sw/include" (for headers) and "-L/sw/lib" (for libraries) to the compile lines yourself. Some packages may use similar non-standard variables such as EXTRA_CFLAGS or --with-qt-dir= configure options. "./configure --help" will usually give you a list of the extra configure options". Check here: http://fink.sourceforge.net/faq/usag...compile-myself |
thx for the help. i did see that page earlier but when i look in the config.log, it actually looks in /sw/include and /sw/lib. in addition, ./configure --help states that it does use the standard compile flags. and /sw/include/gtk-2.0/gtk/gtk.h does exist for me.
anyway, i have another n00b question. i edited fink.conf to add unstable/main and unstable/crypto and ran the find index command. where would i see the unstable packages in dselect? the only gaim entry i see is 0.59 something. thank you very much. |
Quote:
If you enabled unstable and you have Apple December 2002 Developer Tools installed, run: 'fink selfupdate-cvs' Then, run 'fink list' and you should see gaim-0.62-1 Then 'fink install gaim' |
Quote:
Information about 2307 packages read in 13 seconds. (i) gtk+2 2.0.9-3 The Gimp Toolkit (i) gtk+2-dev 2.0.9-3 The Gimp Toolkit (i) gtk+2-shlibs 2.0.9-3 The Gimp Toolkit [fignuts:~] propheci% |
propheci,
Actually, /sw/include/gtk-2.0/gtk/gtk.h is part of gtk+2-dev And in gtk+ you have /sw/include/gtk-1.2/gtk/gtk.h |
having similar problems see below:
In file included from glib.h:66, from gmain.c:41: glibconfig.h:66:1: warning: "G_VA_COPY" redefined In file included from gmain.c:34: config.h:63:1: warning: this is the location of the previous definition gmain.c:191: `poll' undeclared here (not in a function) gmain.c: In function `g_main_set_poll_func': gmain.c:1213: `poll' undeclared (first use in this function) gmain.c:1213: (Each undeclared identifier is reported only once gmain.c:1213: for each function it appears in.) make[2]: *** [gmain.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 ### execution of make failed, exit code 2 Failed: compiling glib-1.2.10-8 failed what is glib and where do I get it? Is there an OS X wrapped installer for gaim. I don't really want to bother with making and compiling this app. Andy |
Folks, compilation of certain programs is something which sometimes requires more than just configure and make. Aparteso, the reason for which your compile isn't working is because it OSX does not use the poll mechanism, and you will not find the header file for it in your include directory. Propheci, take an initiative and open up the configure file. Run a search for the error message that appears during configuring. Take a look at the shell code used to determine whether or not gtk.h is present, and see where it is searching for this file. Edit configure to suit your needs. If you need help understanding the code bring a shell snipet to the forum.
AtomicTuesday |
GAIM Help
That is interesting information AtomicTuesday, but how does that help me get gaim to install?
|
apaterso wrote: "what is glib and where do I get it?
Code:
[pm @ Sao: ~] % fink list -i glibCode:
[pm @ Sao: ~] % fink list -i gaim |
when I run fink -list -i glib this is what i get:
<code> [~:/sw/bin] apaterso% fink list -i glib tcsh: fink: Command not found. [~:/sw/bin] apaterso% ./fink list -i glib Information about 1866 packages read in 5 seconds. [c-24-5-246-14:/sw/bin] apaterso% </code> nothing shows up????? is it me or is gaim why too much effoft to be bothered with. Except now it has become somewhat of an academic challenge. ASP |
Quote:
fink -V gcc-v echo $PATH echo $SHELL |
fink version is
Package manager version: 0.11.1 Distribution version: 0.5.0a.cvs gcc version is 3.1 Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs Thread model: posix Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420 (prerelease) My path looks like /usr/local/mysql/bin /bin /sbin /usr/bin /usr/sbin and my shell is /bin/tcsh |
apaterso,
Looks like you're still in Jaguar? Anyhow, your Fink installation is very old...fink is at the moment at: Code:
[pm @ Sao: ~] % fink -VQuote:
source /sw/bin/init.csh Code:
[pm @ Sao: ~] % echo $PATH |
hmmm the only line of my .cshrc is
source /sw/bin/init.csh .tcshrc looks like setenv PATH /usr/local/mysql/bin:$PATH |
apaterso,
At startup the shell will read "first" from your ~/.tcshrc file and if it doesn't find any ~/.tcshrc then it will read your ~/.cshrc. So in your case your ~/.cshrc file is not being read. Quote:
|
ok did the fink selfupdate so I am now on
Package manager version: 0.11.1 Distribution version: 0.6.2.cvs I am running 10.3.1, do I need to install any of the dev tools |
hey why didn't my package mananger update to 0.17.1
|
Quote:
echo $PATH Why did you run already 'fink selfupdate' ? "Before" you start upgrading Fink to 10.3 you should have installed "Xcode" (new developer Tools) and the "X11 SDK" from the Xcode Tools CD. Please, read the following info: http://fink.sourceforge.net/download/10.3-upgrade.php "Under 10.3, be sure to install XCode from the XCode disk before upgrading Fink. Running "fink selfupdate" should perform the upgrade for you. The latest version of the fink package manager will automatically detect which version of OS X and which version of gcc you have installed, and will adjust itself accordingly". |
Quote:
Anyhow, I answered your question in my post above. |
Sao;
so at this point do you suggest that I rm -R my /sw directory and start over and reinstall fink from scratch? I finished installing the xcode pieces, X11, et al. my path looks like ls: /usr/local/mysql/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin: |
apaterso,
You can try to run 'fink selfupdate' again to see if updates properly now after you installed Xcode and the X11 SDK. If it doesn't, and you haven't installed many packages, I would suggest you to delete your fink installation: sudo rm -rf /sw and then reinstall Fink by downloading the Fink 0.6.2 Binary Installer from: http://fink.sourceforge.net/download/index.php and follow the instructions on that page. This time make sure that you already installed "Apple's X11", "Xcode" and the "X11 SDK" before you install Fink. |
This is what I've got now and it looks good
apaterso% fink -V Package manager version: 0.16.2 Distribution version: 0.6.2 Copyright (c) 2001 Christoph Pfisterer Copyright (c) 2001-2003 The Fink Package Manager Team This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. now on to the main topic of gaim?? Thanks Sao for your help and hand holding |
Quote:
1- gaim: In current-10.3 Tree: stable = 0.68-1 unstable = 0.74-11 unstable MSN is disabled in this non-SSL version. If you want to use your MSN accounts, install gaim-ssl. 2- gaim-ssl: In current-10.3 Tree: stable = not present unstable = 0.74-11 |
Well I guess I would like the 0.74-11 version.
What does 10.3 unstable branch mean? I successfully installed 0.68 mostly just see if I could, damn did that take a long time. However, when I launch X11 and type gaim everything looks right, I get the gui gaim logon screen like is expect. The problem is that my accounts will not log on to either AOL IM or Yahoo. any clues? |
Quote:
Code:
Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap'fink selfupdate' 'fink index' |
Quote:
http://www.alphamonkey.org/gdp/files...0.05/x362.html |
| All times are GMT -5. The time now is 06:07 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.