image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old February 23rd, 2003, 04:50 PM
Registered User
 
Join Date: Mar 2001
Location: Paris, France
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
lashampoo is on a distinguished road
Unhappy Problem with compilation since 10.2 !

I met some problems with compilation since 10.2 Before, from 10 to 10.1 I had no problem at all with the same programs I'm trying to compile under 10.2 I found these problems only with program related with other libraries: GD (image), MySQL (database), etc.... Some real examples:

1. I'm trying to compile Pure-FTPd (an excellent FTP deamon) with MySQL support. Without the MySQL support, I can compile Pure-FTPd without any problem. Since 10.2, the scripts seems to have no more access (or not found) the shared libraries. Before, there was no problem.
ftp://ftp.pureftpd.org/pub/pure-ftpd...-1.0.15.tar.gz

2. I'm trying to compile Webalizer (an excellent Logs analyser) that runs only via GD and libpng to build beautiful graphic stats. Under 10 and 10.1 I had absolutely no problem to compile it. In fact, that was my first compilation on Unix! But since 10.2, the make script can't find the libpng and gd libraries.

Is there anything to do ".dylb" and ".so" extension mess since 10.2 ? Any body has an clue? Does anybody has the same problem as me since 10.2 ?

It's to bad if we can't compile anything on Mac OS X...
Reply With Quote
  #2  
Old February 23rd, 2003, 05:40 PM
Darkshadow's Avatar
wandering shadow
 
Join Date: Jul 2001
Location: DE, USA
Posts: 1,532
Thanks: 0
Thanked 0 Times in 0 Posts
Darkshadow is on a distinguished road
You may need to recompile the libpng and gd libraries - there are some small diferences in 10.2 that requires some shared libraries to be recompiled.
__________________
I am but a lonely shadow,
Doomed forever to roam and wander.
But if you allow me to pause before I must go,
I'll spin you tales of mystery and wonder.


Site: Night Productions
Reply With Quote
  #3  
Old February 23rd, 2003, 05:45 PM
Registered User
 
Join Date: Mar 2001
Location: Paris, France
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
lashampoo is on a distinguished road
I did recompiled these two libraries! I did also downloaded the December 2002 Developper Tools! Did I missed something?

Did anybody compiled one of the two examples above (Pure-FTPd with MySQL support or Webalizer) under Mac OS X 10.2 ????
Reply With Quote
  #4  
Old February 23rd, 2003, 06:34 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
I have been unable to compile a dict server (dictd-1.9.1) for Mac OS X -- as soon as I surmount one hurdle, another quickly presents itself. I may just have to use the Java server, since the C-based server just will not compile easily. I'm sure it would compile with some massaging, but I don't have the time to waste on it much beyond a vanilla compilation. So lashampoo, I share your sentiments.
Reply With Quote
  #5  
Old February 23rd, 2003, 06:50 PM
Registered User
 
Join Date: Mar 2001
Location: Paris, France
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
lashampoo is on a distinguished road
Unix guru over here?

Hey! Is there any Unix guru reading this forum who might help us? Some easy tricks like doing a symbolic link to a dispared library since 10.2 or a magic phrase... Or some dark tricks between Gcc 3.1 vs gcc 3.2 since Jaguar... Pleeeeease, let me compile again!

Or this means that since 10.2, Mac OS X is useless for Unix people: open source things and other stuff like Unix compilings were only before 10.2 ?

Is there any Apple staff people reading this forum?
Reply With Quote
  #6  
Old February 23rd, 2003, 08:02 PM
btoneill's Avatar
keeper of the cheese
 
Join Date: Jul 2002
Location: Minneapolis, MN
Posts: 797
Thanks: 0
Thanked 0 Times in 0 Posts
btoneill is on a distinguished road
I installed webalizer from fink without any issues, downloaded, compiled, installed. Don't have mysql installed so I can't test the pureftp install with mysql support.

Brian
__________________
UNIX is simple and coherent, but it takes a true genius (or a programmer at any rate) to understand and appreciate its simplicity -- Dennis Ritchie
Reply With Quote
  #7  
Old February 23rd, 2003, 08:38 PM
Darkshadow's Avatar
wandering shadow
 
Join Date: Jul 2001
Location: DE, USA
Posts: 1,532
Thanks: 0
Thanked 0 Times in 0 Posts
Darkshadow is on a distinguished road
You can compile things under 10.2 - I do it most everyday (my own stuff + some X11 stuff and others). What *exactly* are the errors you are getting? And where are the libpng, mysql, and gd files & libraries installed at?

If I get these, I may be able to help you better. I DO know how to compile things very well.
__________________
I am but a lonely shadow,
Doomed forever to roam and wander.
But if you allow me to pause before I must go,
I'll spin you tales of mystery and wonder.


Site: Night Productions
Reply With Quote
  #8  
Old February 23rd, 2003, 10:37 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
Compilation problems with dictd-1.9

dictd-1.9
OS X 10.2.4, December 2000 Developer's Tools, fink 0.5.1.cvs
Somewhat abbreviated, but the relevant clues left intact. Here's the first error:
Quote:
./configure
...
checking for ltdl.h... no
configure: error: Install ltdl library and appropriate header files
Okay:
fink install libtool libtool-shlibs
sudo ln -s /sw/include/ltdl.h /usr/include/ltdl.h
source ~/.cshrc

Try, try again:
Code:
./configure 
Configuring for dict
.
checking build system type... powerpc-apple-darwin6.4
checking host system type... powerpc-apple-darwin6.4
checking for gcc... gcc
....(everything good until):
Making output files
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating dictdplugin-config
config.status: creating config.h
config.status: config.h is unchanged
configure: configuring in libmaa
configure: running /bin/sh './configure'  LDFLAGS=-flat_namespace --cache-file=/dev/null --srcdir=.
Configuring for libmaa 0.95
.
checking build system type... configure: error: cannot guess build type; you must specify one
configure: error: /bin/sh './configure' failed for libmaa
sed: confdefs.h: No such file or directory
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting 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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
localization problem with 10.2 DarkGenius Mac OS X System & Mac Software 4 August 28th, 2003 04:59 AM
10.2 install problem on wallstreet frieza Mac OS X System & Mac Software 5 March 25th, 2003 01:55 PM
10.2 Filesharing problem Bad_Co Mac OS X System & Mac Software 0 September 10th, 2002 02:08 PM
Problem with firewire hard drive....10.2 problem Zeigan Hardware & Peripherals 2 August 28th, 2002 12:20 PM
wierd clasic problem on 10.2 DualG4X Mac OS X System & Mac Software 0 August 20th, 2002 05:40 PM


All times are GMT -5. The time now is 11:06 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.