Hello again

While looking at older posts I found that people had this same problem about
two and a half years ago; I am not clear how it was solved though, or the
solution does not seem to apply to me

>From the 'openmotif problems' thread, July 2008:
----------------------------------------------------------------------------------
From: David W Hogg <david.hogg <at> nyu.edu>
Subject: Re: openmotif
problems<http://news.gmane.org/find-root.php?message_id=%3cc896ecab0807281305h1736aa5ala35e12576238bced%40mail.gmail.com%3e>
Newsgroups: 
gmane.os.apple.fink.general<http://news.gmane.org/gmane.os.apple.fink.general>
Date: 2008-07-28 20:05:34 GMT (2 years, 35 weeks, 6 days and 19 hours ago)

Oh duh.  Sorry for being such a newbie.

 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./..
-DXMBINDDIR_FALLBACK=\"/sw/lib/X11/bindings\"
-DINCDIR=\"/sw/include/X11\" -DLIBDIR=\"/sw/lib/X11\"
-I/usr/X11R6/include -I/sw/include -DXNO_MTSAFE_STRINGAPI
-DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI -Wall -g -Wno-unused
-Wno-comment -MT Xmos.lo -MD -MP -MF .deps/Xmos.Tpo -c Xmos.c
-fno-common -DPIC -o .libs/Xmos.o
Xmos.c: In function 'GetQualifiedDir':
Xmos.c:284: error: 'struct passwd' has no member named 'pw_age'
Xmos.c:284: error: 'struct passwd' has no member named 'pw_age'
Xmos.c:284: error: 'struct passwd' has no member named 'pw_age'

...............................................................

------------------------------------------------------------------------------------------------------------------
This is my problem also; I found this reply:
---------------------------------------------------------------------------------
From: Martin Costabel <costabel <at> wanadoo.fr>
Subject: Re: openmotif
problems<http://news.gmane.org/find-root.php?message_id=%3c48943799.6020501%40wanadoo.fr%3e>
Newsgroups: 
gmane.os.apple.fink.general<http://news.gmane.org/gmane.os.apple.fink.general>
Date: 2008-08-02 10:31:53 GMT (2 years, 35 weeks, 2 days, 4 hours and 32
minutes ago)

Moritz Kaiser wrote:
> I've got exactly the same problem. Errors are identical.
> (Mac OS 10.4.11)
> Package manager version: 0.28.5
> Distribution version: selfupdate-cvs Fri Aug  1 16:52:47 2008, 10.4, i386

Could you have a look at the file config.log (in the directory
/sw/src/fink.build/openmotif3-2.2.4-1/openmotif-2.2.4/) and see what it
says about X11/Xos_r.h? In my case (built without errors), there are the
following lines:

configure:21480: checking X11/Xos_r.h usability
configure:21493: gcc -c -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI
-DXNO_MTSAFE_TIMEAPI -I/sw/include conftest.c >&5
configure:21496: $? = 0
configure:21499: test -s conftest.o
configure:21502: $? = 0
configure:21512: result: yes
configure:21516: checking X11/Xos_r.h presenceconfigure:21527: gcc -E
-I/sw/include conftest.cconfigure:21533: $? = 0
configure:21552: result: yes
configure:21588: checking for X11/Xos_r.h
configure:21595: result: yes

-- 
Martin

-------------------------------------------------------------------------------
I just looked at my config.log after running selfupdate, update-all and
retrying to install openmotif3 again; here is the relevant part:
-------------------------------------------------------------------------------
configure:21486: checking X11/Xos_r.h usability
configure:21499: gcc -c -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI
-DXNO_MTSAFE_TIMEAPI -I/sw/include conftest.c >&5
configure:21562:23: error: X11/Xos_r.h: No such file or directory
configure:21502: $? = 1
---------------------------------------------------------------------------------
And several lines below:
--------------------------------------------------------------------------------
configure:21518: result: no
configure:21522: checking X11/Xos_r.h presence
configure:21533: gcc -E -I/sw/include conftest.c
configure:21564:23: error: X11/Xos_r.h: No such file or directory
configure:21539: $? = 1
---------------------------------------------------------------------------------
But Xos_r.h is there:
--------------------------------------------------------------------------------
lorenzo% locate Xos_r.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/root/usr/X11/include/X11/Xos_r.h
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/X11/Xos_r.h
/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/X11/Xos_r.h
/usr/X11/include/X11/Xos_r.h
---------------------------------------------------------------------------------
In the thread it seems that the problem is the lack of two files, Xarch.h
and Xfuncs.h that I have
---------------------------------------------------------------------------------
lorenzo% locate Xarch.h Xfuncs.h
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/X11/Xarch.h
/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/X11/Xarch.h
/usr/X11/include/X11/Xarch.h
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/X11/Xfuncs.h
/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/X11/Xfuncs.h
/usr/X11/include/X11/Xfuncs.h
----------------------------------------------------------------------------------
Here's my fink and OSX versions
----------------------------------------------------------------------------------
lorenzo% fink --version
Package manager version: 0.29.21
Distribution version: selfupdate-rsync Thu Apr  7 10:42:35 2011, 10.6, i386
Trees: local/main stable/main stable/crypto
----------------------------------------------------------------------------------
OSX is actually 10.6.7; I should add that I previously tried to install
openmotif4 with the same errors, so on my machine I have directories for
both; maybe they conflict with each other?
-----------------------------------------------------------------------
ls /sw/src/fink.build/openmotif3-2.2.4-4/
openmotif-2.2.4
ls /sw/src/fink.build/openmotif4-2.3.2-2/
openmotif-2.3.2
----------------------------------------------------------------------
Hope it helps, any suggestion?

Thanks a lot

Lorenzo Faccioli

On Fri, Apr 1, 2011 at 6:10 PM, Lorenzo Faccioli <[email protected]
> wrote:

> Hi, thanks for the reply
>
> I tried again to install openmotif3 after upgrading Mac OS X to 10.6.7 and
> then running fink selfupdate and update-all; I still have the same problem
>
> lorenzo% fink --version
> Package manager version: 0.29.21
> Distribution version: selfupdate-rsync Fri Apr  1 17:35:45 2011, 10.6, i386
>
> The file
> /sw/src/fink.build/openmotif3-2.2.4-4/openmotif-2.2.4/lib*/Xm/*.deps/Xmos.Plo
> (I do not have Tpo) is actually almost empty
>
> lorenzo% vi
> /sw/src/fink.build/openmotif3-2.2.4-4/openmotif-2.2.4/lib/Xm/.deps/Xmos.Plo
>
> shows:
>
> ----------
> # dummy
> -----------
>
> Here's the output of the command suggested
>
>
> ----------------------------------------------------------------------------------
> root# touch dummy.h
> root# gcc -arch i386 -E -dM dummy.h | grep -i apple#define __APPLE_CC__
> 5664
> #define __APPLE__ 1
> #define __VERSION__ "4.2.1 (Apple Inc. build 5664)"
>
> -----------------------------------------------------------------------------------
> Hope it helps, thanks
>
> Lorenzo
>
>
>
> On Tue, Mar 15, 2011 at 9:31 PM, Martin Costabel <[email protected]>wrote:
>
>> Lorenzo Faccioli wrote:
>>
>>   gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./..
>>> -DXMBINDDIR_FALLBACK=\"/sw/lib/X11/bindings\" -DINCDIR=\"/sw/include/X11\"
>>> -DLIBDIR=\"/sw/lib/X11\" -I/usr/X11R6/include -I/sw/include
>>> -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI -Wall -g
>>> -Wno-unused -Wno-comment -MT Xmos.lo -MD -MP -MF .deps/Xmos.Tpo -c Xmos.c
>>>  -fno-common -DPIC -o .libs/Xmos.o
>>> Xmos.c: In function 'GetQualifiedDir':
>>> Xmos.c:284: error: 'struct passwd' has no member named 'pw_age'
>>>
>> []
>>
>>> Failed: phase compiling: openmotif3-2.2.4-4 failed
>>>
>>
>> It could be useful to see the generated dependency file Xmos.Tpo (or
>> perhaps named Xmos.Plo). This sits in the directory
>> /sw/src/fink.build/openmotif3-2.2.4-4/openmotif-2.2.4/lib/Xm/.deps/.
>> This would show, in particular, if instead of
>> /usr/X11R6/include/X11/Xos_r.h
>> some other file of the same name was found.
>>
>> Also, the output of the following commands would be interesting
>>
>> touch dummy.h
>> gcc -arch i386 -E -dM dummy.h | grep -i apple
>>
>> --
>> Martin
>>
>>
>>
>
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to