Opened 10 years ago

Last modified 5 years ago

#42459 assigned defect

zeroc-ice34: error: no member named 'rmdir' in the global namespace

Reported by: FiReTiTi Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: g.korovkin@…
Port: zeroc-ice34

Description

Hi, I wanted to install ice34 and it seems that I have to install "zeroc-ice34-java" (the classical version is deprecated). But the installation fails. The log file is attached. regards,

Attachments (2)

log.txt (6.1 KB) - added by FiReTiTi 10 years ago.
zeroc_patches.tgz (1.5 KB) - added by g.korovkin@… 10 years ago.
Zeroc-ice34 patches

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by FiReTiTi

Attachment: log.txt added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: ice removed
Owner: changed from macports-tickets@… to blair@…

In the future, please Cc the port maintainers (port info --maintainers zeroc-ice34-java).

comment:2 Changed 10 years ago by blair (Blair Zajac)

You're doing this on 10.9? I would use zeroc-ice35-java instead as its better supported on 10.9.

Changed 10 years ago by g.korovkin@…

Attachment: zeroc_patches.tgz added

Zeroc-ice34 patches

comment:3 in reply to:  description Changed 10 years ago by g.korovkin@…

Replying to firetiti@…:

Hi, I wanted to install ice34 and it seems that I have to install "zeroc-ice34-java" (the classical version is deprecated). But the installation fails. The log file is attached. regards,

In order to build zeroc-ice34 on new MacOS X 10.9 with (great new) clang you should do the following:

  1. copy .patch files into port/files directory and apply Portfile.patch ( or manually add new patches ) for attached file tgz
  2. Add APPLE define to FreeBSD flags
    port_dir=`port dir zeroc-ice34`
    
    
    #find and replace all "ifdef __FreeBSD__" to "if defined(__FreeBSD__) || defined(__APPLE__)"
    for file in $(find $port_dir/files/ -type f -name *.cpp.diff -o -name *.h.diff ); do
        sed 's/ifdef __FreeBSD__/if defined(__FreeBSD__) \|\| defined(__APPLE__)/g' $file > $file.patched
        mv $file.patched $file
    done
    

comment:4 Changed 10 years ago by g.korovkin@…

Cc: g.korovkin@… added

Cc Me!

comment:5 Changed 10 years ago by blair (Blair Zajac)

Any reason you're not using Ice 3.5 instead? I have very few cycles to spend on MacPorts these days, so anything that makes use of newer versions of Ice makes my life easier.

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

Port: zeroc-ice34 added; zeroc-ice34-java removed
Summary: zeroc-ice34-java, installation failszeroc-ice34: error: no member named 'rmdir' in the global namespace

comment:7 Changed 5 years ago by mf2k (Frank Schima)

Owner: blair deleted
Status: newassigned
Note: See TracTickets for help on using tickets.