Opened 13 years ago
Closed 12 years ago
#31858 closed defect (fixed)
opendx @4.4.4 Build Failure: error: first parameter of 'main' (argument count) must be of type 'int'
Reported by: | abigail.l.bull@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | opendx |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I have a macbook pro running Lion. I am trying to install OpenDx. After running
sudo port install opendx
The install crashes with the following message
---> Computing dependencies for opendx ---> Building opendx Error: Target org.macports.build returned: shell command failed (see log for details) Log for opendx is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_opendx/opendx/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I have done a clean, sync, update, etc., and still have the same issue. Any ideas?
Attachments (1)
Change History (6)
Changed 13 years ago by abigail.l.bull@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; abigail.l.bull@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to gwright@… |
Port: | opendx added; Opendx removed |
Summary: | opendx @4.4.4 Build Failure → opendx @4.4.4 Build Failure: error: first parameter of 'main' (argument count) must be of type 'int' |
Possibly clang is being more strict than gcc was. Try building with llvm-gcc-4.2?
sudo port clean opendx sudo port install opendx configure.compiler=llvm-gcc-4.2
comment:3 Changed 13 years ago by abigail.l.bull@…
Thank you, that worked! Dx is up and running. Thanks!
comment:4 Changed 13 years ago by abigail.l.bull@…
I can now get dx to open and begin running, however, it crashes and begins to display many widows with the "Format error (1) encountered in packet" message.
I read that this is due to a coding issue in packet.c (http://www.opendx.org/bugs/view.php?id=251), but I cannot find that file, and so cannot change it.
I also tried applying the patch described at #31730, but I get the message "can't find file to patch'.
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Log File