Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > w3m/vim/bzip2... some unusual compiles

w3m/vim/bzip2... some unusual compiles
Thread Tools
Dedicated MacNNer
Join Date: Nov 2000
Location: Malaysia
Status: Offline
Reply With Quote
Nov 18, 2000, 01:11 PM
 
Hey, I've seen a lot of comments about various programs people are compiling. I've been hitting the gnu site kinda hard and came up with several comments on various packages. Hopefully this will be of assistance to a lot of people. Maybe someone can answer a couple questions I have.

NEW (i've found no postings on any of these):
bzip2 - builds right out of the package. Available at http://sourceware.cygnus.com/bzip2/

w3m - a handy little text-based web browser that parses tables and frames available at http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/. I stopped using lynx after I found this. This builds after GNU's termcap is built and installed (is there an OSXPB equivelant to termcap already?) You also have to go into "configure" and replace both occurances of the word "Rhapsody" with "Darwin". Then away you go!

OpenSSL-0.9.5a-3.1 - from opensource.apple.com. This is nice so that lynx/w3m can hit https/ssl sites. I can't make this package. After entering openssl/crypto I get "cc: cannot read specs file" followed by "make[2]: *** [cryptlib.o] Error 1". I got similar cryptlib errors when trying to compile the standard openssl-0.9.6. Is there a cryptlib issue with OSXPB?

vim - I've heard different suggestions for compiling this. I've compiled the standard package source (from http://www.vim.org) Whatever you do with ./configure you still have to edit 3 source files before it will work. Let me say that I strongly recommend using "--disable-gui --disable-gpm --without-x" with ./configure. Here are the changes:
src/regexp.c: lines 350-358 have a section for "#if defined(macintosh)...". Delete lines 350/354/355/356/357/358. This will basically enable the "macintosh" define at that point.
src/ctags/main.c: lines 299/1096. You have to remove the "__unused__" from the prototyping on these lines.
src/ctags/options.c: lines 1320/1330. You have to remove the "__unused__" from the prototyping on these lines.
Now it compiles fine.

GNU:
general - use "--host=powerpc-apple-netbsd42" or "--host=powerpc-apple-rhapsody4" to ./configure most of the GNU software

automake/autoconf - build right out of the standard package

gimp/glib/gtk+ - my question is, can you even use these libraries w/ OSXPB? Is it of any use...any hope for Gimp?

ncurses - builds right out of the standard package

termcaps - builds right out of the standard package
     
Dedicated MacNNer
Join Date: Oct 1999
Status: Offline
Reply With Quote
Nov 19, 2000, 08:09 AM
 
Originally posted by gralem:


GNU:
general - use "--host=powerpc-apple-netbsd42" or "--host=powerpc-apple-rhapsody4" to ./configure most of the GNU software
or just ./configure powerpc-apple


gimp/glib/gtk+ - my question is, can you even use these libraries w/ OSXPB? Is it of any use...any hope for Gimp?
glib and gtk+ have already been compiled. The central repository for Darwin compiles is at www.darwinfo.org. If you port something post instructions on this web site like I did with Amaya.

As for GIMP, even if you manage to compile it, there is no hope for it |-p

I compiled gtk-gnutella and it works fine in Xtools or XFree86 4.0 or Xvnc.


ncurses - builds right out of the standard package

termcaps - builds right out of the standard package
Yea, except with NetHack |-)
     
Fresh-Faced Recruit
Join Date: Nov 2000
Status: Offline
Reply With Quote
Nov 19, 2000, 10:34 AM
 
i have a question about gtk stuff... i installed the binaries or gtk & glib because they wouldn't compile easily on my OS XPB machine. but when i compile gimp or irssi or other glib(or gtk) using source i get a strange error with a bogus line number:
somesource.c:<insane number>: bad macro argument list
any clue what's wrong here? i got this error also when trying to compile glib i think. strange
-jeremy
     
Dedicated MacNNer
Join Date: Oct 1999
Status: Offline
Reply With Quote
Nov 20, 2000, 12:48 AM
 
I got a bogus line number when compiling a Carbon app in Project Builder (which uses gcc). The line number was beyond the legnth of the source file.

I reported this on the Darwin Dev list but got no responce.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:45 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2