Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#32025 closed defect (fixed)

qt4-mac Configure error : syntax error in expression "${MINOR} == "6" ...

Reported by: hosseini@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: wh18@…, ryandesign (Ryan Carsten Schmidt)
Port: qt4-mac

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I tried to install qt4 using macports but I faced problem installing it. I get the following error:

Error: Target org.macports.configure returned: syntax error in expression "${MINOR} == "6" &&
                  [llength ${qt_arch_type...": extra tokens at end of expression

I would appreciate if someone could help me with this problem

Attachments (2)

main.log.gz (4.1 KB) - added by wh18@… 12 years ago.
qt4-mac/main.log
main.log.2.gz (13.6 KB) - added by wh18@… 12 years ago.
New configure error log

Download all attachments as: .zip

Change History (15)

Changed 12 years ago by wh18@…

Attachment: main.log.gz added

qt4-mac/main.log

comment:1 Changed 12 years ago by wh18@…

I'm experiencing the same problems on a PPC G5 - please see above attachment.

Thanks for your help.

comment:2 Changed 12 years ago by wh18@…

Cc: wh18@… added

Cc Me!

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: qt4-mac added

comment:4 Changed 12 years ago by hosseini@…

I forgot to mention that I am using OS X 10.5.8

comment:5 in reply to:  4 Changed 12 years ago by wh18@…

Replying to hosseini@…:

I forgot to mention that I am using OS X 10.5.8

I similarly forgo to add I'm on 10.4.11,

Thanks.

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

comment:7 in reply to:  6 Changed 12 years ago by hosseini@…

Replying to ryandesign@…:

r87163

I could install qt4-mac .

Thanks.

comment:8 Changed 12 years ago by wh18@…

Resolution: fixed
Status: closedreopened

After

sudo port clean qt4-mac
sudo port selfupdate
sudo port install qt4-mac

I'm still unable to install on 10.4.11, PPC G5. Error log is attached, but looks as though configure is failing due to a shell command failure.

Thanks.

Changed 12 years ago by wh18@…

Attachment: main.log.2.gz added

New configure error log

comment:9 in reply to:  8 Changed 12 years ago by hosseini@…

Replying to wh18@…:

After

sudo port clean qt4-mac
sudo port selfupdate
sudo port install qt4-mac

I'm still unable to install on 10.4.11, PPC G5. Error log is attached, but looks as though configure is failing due to a shell command failure.

I manually change the qt4-mac/Portfile which in my case is in the following directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac/

I then apply the change manually: r87163

I then uninstall and reinstall again:

sudo port uninstall qt4-mac
sudo port install qt4-mac

comment:10 Changed 12 years ago by wh18@…

Unfortunately, following :

sudo port selfupdate
sudo port clean qt4-mac
sudo port install qt4-mac

I find this change r87163 is already made in the new portfile, but the error detailed in the above build log still occurs. Looks as though this is related to lots of the following in the log:

Something... something... expected to be defined in /usr/lib/libSystem.B.dylib

Thanks.

comment:11 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

This ticket is about the error message "syntax error in expression "${MINOR} == "6" && [llength ${qt_arch_type...": extra tokens at end of expression" which I fixed in r87163. This ticket is therefore resolved and closed.

wh18, you are now experiencing a different error. Please open a new ticket for that.

comment:12 in reply to:  11 ; Changed 12 years ago by wh18@…

Hi, qt4-mac is now building fine on 10.4.11 PPC G5.

The further problem I had was un-related to MacPorts, and was resolved with an update of X-code to version 2.5.

Thanks for your help getting qt4-mac working again.

Replying to ryandesign@…:

This ticket is about the error message "syntax error in expression "${MINOR} == "6" && [llength ${qt_arch_type...": extra tokens at end of expression" which I fixed in r87163. This ticket is therefore resolved and closed.

wh18, you are now experiencing a different error. Please open a new ticket for that.

comment:13 in reply to:  12 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to wh18@…:

The further problem I had was un-related to MacPorts, and was resolved with an update of X-code to version 2.5.

Thanks for letting us know. I changed the port in r87272 to require Xcode 2.5 on Tiger.

Note: See TracTickets for help on using tickets.