Snow Leopard Apache + PHP + MySQL

Ryan Schmidt ryandesign at macports.org
Sat Aug 29 06:22:44 PDT 2009


On Aug 29, 2009, at 08:12, Craig Hoffman wrote:

> On Aug 29, 2009, at 2:49 AM, Ryan Schmidt wrote:
>
>> On Aug 28, 2009, at 22:36, Craig Hoffman wrote:
>>
>>> Error: The following dependencies failed to build: apr apr-util  
>>> db46 expat libiconv gperf sqlite3 ncurses ncursesw readline  
>>> openssl zlib pcre bzip2
>>> Error: Status 1 encountered during processing.
>>
>> You've omitted the details which would enable us to know what's  
>> going on. We need to see the lines before this Error statement. We  
>> need to know which dependency failed to build and with what error  
>> message.
>
> Here you go:
> rror: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr 
> /work/apr-1.3.8" && /usr/bin/make -j4 all " returned error 2
> Command output: random/unix/sha2.c:716: warning: right shift count  
> >= width of type
> random/unix/sha2.c:716: warning: left shift count >= width of type
> random/unix/sha2.c:718: warning: left shift count >= width of type
> random/unix/sha2.c:718: warning: left shift count >= width of type
> random/unix/sha2.c:718: warning: right shift count >= width of type
> random/unix/sha2.c:723: warning: left shift count >= width of type
> random/unix/sha2.c:723: warning: right shift count >= width of type
> random/unix/sha2.c:723: warning: right shift count >= width of type
> random/unix/sha2.c:739: warning: left shift count >= width of type
> random/unix/sha2.c:739: warning: left shift count >= width of type
> random/unix/sha2.c:741: warning: left shift count >= width of type
> random/unix/sha2.c:741: warning: right shift count >= width of type
> random/unix/sha2.c:744: warning: left shift count >= width of type
> random/unix/sha2.c:744: warning: left shift count >= width of type
> random/unix/sha2.c:744: warning: right shift count >= width of type
> random/unix/sha2.c:746: warning: left shift count >= width of type
> random/unix/sha2.c:746: warning: right shift count >= width of type
> random/unix/sha2.c:746: warning: right shift count >= width of type
> random/unix/sha2.c: In function 'apr__SHA512_Last':
> random/unix/sha2.c:831: warning: right shift count >= width of type
> random/unix/sha2.c:831: warning: left shift count >= width of type
> random/unix/sha2.c:832: warning: right shift count >= width of type
> random/unix/sha2.c:832: warning: left shift count >= width of type
> random/unix/sha2.c: In function 'apr__SHA512_Final':
> random/unix/sha2.c:882: warning: right shift count >= width of type
> random/unix/sha2.c:882: warning: left shift count >= width of type
> random/unix/sha2.c: In function 'apr__SHA384_Final':
> random/unix/sha2.c:957: warning: right shift count >= width of type
> random/unix/sha2.c:957: warning: left shift count >= width of type
> make: *** [all-recursive] Error 1
>
> Error: The following dependencies failed to build: apr apr-util db46  
> expat libiconv gperf sqlite3 ncurses ncursesw readline openssl zlib  
> pcre bzip2
>
> Hopefully this helps.

Could you clean apr and try again with the debug flag and send us the  
output?

sudo port clean apr
sudo port -d install apr 2>&1 | tee ~/Desktop/apr.txt

Then attach apr.txt from your desktop to your reply email.


If you are trying to build apr with the universal variant, then you  
may be running into

http://trac.macports.org/ticket/17090





More information about the macports-users mailing list