mimiraluna / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

mac install instructions fail for libusb-devel #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Run "sudo port install libusb-devel +universal"

--->  Configuring libusb-devel
Error: Please do not install this port since it has been replaced by 'libusb'.

2. Run "sudo port install libusb +universal"
--->  Fetching archive for libusb
--->  Attempting to fetch libusb-1.0.9_0+universal.darwin_11.i386-x86_64.tbz2 
from http://packages.macports.org/libusb
--->  Fetching distfiles for libusb
--->  Attempting to fetch libusb-1.0.9.tar.bz2 from 
http://distfiles.macports.org/libusb
--->  Verifying checksum(s) for libusb
--->  Extracting libusb
--->  Configuring libusb
--->  Building libusb
--->  Staging libusb into destroot
--->  Installing libusb @1.0.9_0+universal
--->  Activating libusb @1.0.9_0+universal
Error: org.macports.activate for port libusb returned: Image error: 
/opt/local/lib/libusb-1.0.0.dylib already exists and does not belong to a 
registered port.  Unable to activate port libusb. Use 'port -f activate libusb' 
to force the activation.
Please see the log file for port libusb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb failed

3. Run "sudo port -f activate libusb"
--->  The following versions of libusb are currently installed:
--->      libusb @1.0.9_0
--->      libusb @1.0.9_0+universal
Error: port activate failed: Registry error: Please specify the full version as 
recorded in the port registry.

4. Run "sudo port clean libusb" and "sudo port install libusb"
--->  Activating libusb @1.0.9_0
Error: org.macports.activate for port libusb returned: Image error: 
/opt/local/lib/libusb-1.0.0.dylib already exists and does not belong to a 
registered port.  Unable to activate port libusb. Use 'port -f activate libusb' 
to force the activation.
Please see the log file for port libusb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb failed

What is the expected output? What do you see instead?
Expect correct installation

What version of the product are you using? On what operating system?
OSX 10.7

Please provide any additional information below.

Original issue reported on code.google.com by alan.our...@gmail.com on 19 May 2012 at 8:56

GoogleCodeExporter commented 8 years ago
Fixed by running

"sudo rm -f /opt/local/lib/libusb-1.0.0.dylib"
"sudo port clean libusb"
"sudo port install libusb +universal"

Basically the Mac install instructions need to be updated and should include a 
warning that the short install may leave files around that will need to be 
deleted before installing with port.

Original comment by alan.our...@gmail.com on 19 May 2012 at 8:58

GoogleCodeExporter commented 8 years ago
Hooray! Thanks - code from Comment 1 was a success. Much appreciated.

Original comment by agko...@gmail.com on 2 Jun 2012 at 4:12

GoogleCodeExporter commented 8 years ago
so after the "sudo port install libusb +universal" should i leave it to this or 
am i supposed to use the "sudo port install libusb-devel +universal" code as 
well....

Original comment by cnaje...@gmail.com on 5 Aug 2012 at 6:04

GoogleCodeExporter commented 8 years ago
Hy, 

a code for my problem?

thanks in advance.
Alessandro

MacBook-Pro-di-Alessandro:~ alekite$ sudo port install libusb-devel + universale
--->  Configuring libusb-devel
Error: Please do not install this port since it has been replaced by 'libusb'.
Error: org.macports.configure for port libusb-devel returned: 
Please see the log file for port libusb-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb-devel/libusb-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb-devel failed
MacBook-Pro-di-Alessandro:~ alekite$ 

Original comment by AleP...@gmail.com on 19 Oct 2012 at 11:07

GoogleCodeExporter commented 8 years ago
i have the same issue, did you realised what was the problem, thanks in advance.

Original comment by dianil...@gmail.com on 23 Jan 2013 at 10:14

GoogleCodeExporter commented 8 years ago
Hi guys, after

"sudo rm -f /opt/local/lib/libusb-1.0.0.dylib"
"sudo port clean libusb"
"sudo port install libusb +universal"

I have this outcome:

--->  Activating libusb @1.0.9_0+universal
Error: org.macports.activate for port libusb returned: Image error: 
/opt/local/lib/libusb-1.0.0.dylib already exists and does not belong to a 
registered port.  Unable to activate port libusb. Use 'port -f activate libusb' 
to force the activation.
Please see the log file for port libusb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb failed

Should I force activation?

thanks in advance,
L.

Original comment by lineacu...@gmail.com on 29 Mar 2013 at 3:03

GoogleCodeExporter commented 8 years ago
Hi, 

I still got same "it has been replaced by 'libusb'" error after,
"sudo rm -f /opt/local/lib/libusb-1.0.0.dylib"
"sudo port clean libusb"
"sudo port install libusb +universal"

Any idea?

Thanks in advance

Original comment by cagrias...@gmail.com on 12 May 2013 at 11:15