Opened 14 years ago

Closed 14 years ago

#28621 closed defect (fixed)

wine ports: lib(n)curses 32-bit development files not found

Reported by: bkgupta@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: jyrkiwahlstedt, niki@…, sule_btnyeleng@…, zap@…, yvadim@…, boydb@…, roczei@…, willk+macports@…, rmnn1211@…, bcpeterson@…, jim.holland@…, mayace.cysque@…, reuben.sterling@…, akofink@…, jeremyhu (Jeremy Huddleston Sequoia), cxp11203@…, james_simon_c@…
Port: wine, wine-devel, wine-crossover-games

Description

:info:configure checking for mousemask... no
:info:configure configure: error: lib(n)curses 32-bit development files not found, curses won't be supported.
:info:configure This is an error since --with-curses was requested.
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wine/work/wine-1.2.2" && ./configure --prefix=/opt/local --without-alsa --without-audioio --without-capi --with-cms --with-coreaudio --with-cups --with-curses --without-esd --with-fontconfig --with-freetype --without-gphoto --with-glu --with-gnutls --without-gsm --without-hal --without-jack --with-jpeg --without-ldap --without-mpg123 --without-nas --without-openal --with-opengl --with-openssl --without-oss --with-png --with-pthread --without-sane --with-tiff --without-v4l --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xml --with-xrandr --with-xrender --with-xshape --with-xshm --with-xslt --with-xxf86vm --with-x --x-include=/opt/local/include --x-lib=/opt/local/lib " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for wine): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for wine is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wine/main.log

Attachments (1)

main.log (103.2 KB) - added by bcpeterson@… 14 years ago.

Download all attachments as: .zip

Change History (35)

comment:1 Changed 14 years ago by bkgupta@…

Cc: bkgupta@… added

Cc Me!

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: jwa@… added; bkgupta@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: wine added

Please remember to fill in the Port field and cc the maintainers. You do not need to be in cc when you are the reporter.

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

Port: wine-devel added
Status: newassigned
Summary: Port Wine (MacOSX 10.6.6) - error: lib(n)curses 32-bit development files not foundwine, wine-devel: lib(n)curses 32-bit development files not found

This was working fine before #12605 was resolved, and I don't have time to dive into this right now.

comment:4 Changed 14 years ago by blb@…

Cc: niki@… added

Cc reporter of dup #28623.

comment:5 Changed 14 years ago by blb@…

Cc: sule_btnyeleng@… added

Cc reporter of dup #28625.

comment:6 Changed 14 years ago by zap@…

Cc: zap@… added

Cc Me!

comment:7 Changed 14 years ago by yvadim@…

Cc: yvadim@… added

Cc Me!

comment:8 Changed 14 years ago by yvadim@…

I have Xcode Version 3.2.5 (1760) Mac OS 10.6.6. I use today's ports. Lipo reports both i386 and amd64 for libncurses. Wine builds and runs fine once configured --without-curses.

comment:9 Changed 14 years ago by boydb@…

Cc: boydb@… added

Cc Me!

comment:10 Changed 14 years ago by roczei@…

Cc: roczei@… added

Cc Me!

comment:11 in reply to:  10 Changed 14 years ago by willk+macports@…

Cc Me!

comment:12 Changed 14 years ago by willk+macports@…

Cc: willk+macports@… added

Cc Me!

comment:13 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rmnn1211@… added

Has duplicate #28667.

comment:14 Changed 14 years ago by bcpeterson@…

Cc: bcpeterson@… added

Cc Me!

comment:15 Changed 14 years ago by jim.holland@…

Cc: jim.holland@… added

Cc Me!

comment:16 Changed 14 years ago by mayace.cysque@…

Cc: mayace.cysque@… added

Cc Me!

comment:17 Changed 14 years ago by reuben.sterling@…

Cc: reuben.sterling@… added

Cc Me!

comment:18 Changed 14 years ago by akofink@…

Cc: akofink@… added

Cc Me!

Changed 14 years ago by bcpeterson@…

Attachment: main.log added

comment:19 in reply to:  14 Changed 14 years ago by bcpeterson@…

Replying to bcpeterson@…:

Cc Me!

This affects wine-crossover-games as well.

comment:20 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Port: wine-crossover-games added
Summary: wine, wine-devel: lib(n)curses 32-bit development files not foundwine ports: lib(n)curses 32-bit development files not found

comment:21 Changed 14 years ago by cxp11203@…

Cc: cxp11203@… added

Cc Me!

comment:22 Changed 14 years ago by mikejbond@…

It has to do with the fact that for some reason /opt/local/lib/libncurses.dylib is now a link to /opt/local/lib/libncursesw.5.dylib instead of /opt/local/lib/libncurses.5.dylib. It can be fixed either by changing the ncurses link to the non-w variant or changing line 9807 of wine-devel@1.3.14 configure (I don't know the line number for the other ports) from:

    dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;

to:

    dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;

comment:23 Changed 14 years ago by nick@…

I changed the configure file to represent your changes, but it did not fix the problem.

comment:24 in reply to:  22 ; Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mikejbond@…:

It has to do with the fact that for some reason /opt/local/lib/libncurses.dylib is now a link to /opt/local/lib/libncursesw.5.dylib instead of /opt/local/lib/libncurses.5.dylib.

The reason seems to be #12605.

comment:25 in reply to:  24 ; Changed 14 years ago by nick@…

Replying to ryandesign@…:

Replying to mikejbond@…:

It has to do with the fact that for some reason /opt/local/lib/libncurses.dylib is now a link to /opt/local/lib/libncursesw.5.dylib instead of /opt/local/lib/libncurses.5.dylib.

The reason seems to be #12605.

Is the newest version of ncurses not being used when configuring wine then?

comment:26 in reply to:  22 ; Changed 14 years ago by nick@…

Replying to mikejbond@…:

It has to do with the fact that for some reason /opt/local/lib/libncurses.dylib is now a link to /opt/local/lib/libncursesw.5.dylib instead of /opt/local/lib/libncurses.5.dylib. It can be fixed either by changing the ncurses link to the non-w variant or changing line 9807 of wine-devel@1.3.14 configure (I don't know the line number for the other ports) from:

    dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;

to:

    dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;

You (or someone else) fixed your code up, it works now :). Thanks!

comment:27 Changed 14 years ago by bkgupta@…

This still does not work for me. I did a selfupdate, port clean wine, and port install wine. I tried the same with wine-devel.

Also, I tried linking libncurses.dylib to libncurses.5.dylib and reattempting the install without success.

Thanks for everyone's help!

comment:28 in reply to:  25 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to nick@…:

Is the newest version of ncurses not being used when configuring wine then?

What makes you ask that?

comment:29 in reply to:  26 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to nick@…:

You (or someone else) fixed your code up, it works now :). Thanks!

Yes, I fixed the WikiFormatting of that comment. Thanks for confirming that works; I'll see about adding similar code to the portfiles.

comment:30 in reply to:  27 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to bkgupta@…:

This still does not work for me. I did a selfupdate, port clean wine, and port install wine. I tried the same with wine-devel.

Of course. I haven't changed anything in the portfiles yet.

Also, I tried linking libncurses.dylib to libncurses.5.dylib and reattempting the install without success.

Please undo that; the ncurses port already installed things correctly.

comment:31 Changed 14 years ago by james_simon_c@…

Cc: james_simon_c@… added

Cc Me!

comment:32 Changed 14 years ago by mikejbond@…

The latest update to ncurses appears to have fixed the symlink that was causing the problem. After updating ncurses wine-devel does indeed appear to configure and build correctly.

comment:33 Changed 14 years ago by bcpeterson@…

Was that ticket #28725? [76839] looks to fix the wide vs non-wide problem.

comment:34 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Yes, that seems to be the fix.

Note: See TracTickets for help on using tickets.