Welcome in this Forum - This information is closed after your registration automaticly

You are watching this forum as a guest with limited access to discussion and other functions. If you register for free you can create new topics unter your name, send other members private messages, take part on polls and other special functions. The registration is very simple and free !

Now register for free.

Already registered ? Login now !

Username:
Password:

  Log me on automatically each visit
  Hide my online status this session

QPxTool-0.7pre1 MacOS installation instructions

everything about installing the gui

Moderators: ShultZ, piewie

QPxTool-0.7pre1 MacOS installation instructions

Postby QPxToolteam » Mon Aug 24, 2009 23:32

download:
http://sourceforge.net/projects/qpxtool ... 2/download

QPxTool can now be compiled for console (cli: command line interface), as well as with gui (needs qt4-devel and so on)

$ tar xjvf qpxtool-0.7pre1.tar.bz2
$ cd qpxtool-0.7pre1
$ make cli
# make cli_install

$ make gui
# make gui_install

Example:
qscan -l
qscan -d /dev/sr1 -t errc -s 8
man qscan
qpxtool


also check:
man cdvdcontrol
man qscan
qscand (for network device control)
User avatar
QPxToolteam
Site Admin
 
Posts: 53
Joined: Sat May 13, 2006 16:42

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby jabbott » Wed Sep 30, 2009 19:03

I tired to follow the instructions, but I get an error while running make:

Code: Select all
WhiteKnight:qpxtool-0.7.0pre4 jonathanabbott$ make
make -C lib
make -C qpxtransport DIR=qpxtransport all
g++ -Wall -O2 -D__unix -fPIC -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `g++ -Wall -O2 -D__unix -fPIC -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit'
make[2]: *** [lib)qpxtransport.0.7.0.dylib] Error 2
make[1]: *** [all] Error 2
make: *** [lib] Error 2


I'm on Mac OS X 10.5.8, I installed qt4-mac from fink and added /sw/lib/qt4-mac/bin to my path. I don't know what to do to get this to work, any suggestions? ./configure seemed to work fine.
jabbott
 
Posts: 1
Joined: Wed Sep 30, 2009 18:54

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby ShultZ » Sun Oct 04, 2009 20:01

it's bug in configure. let's try this patch:

Code: Select all
diff -Nu qpxtool-0.7.0pre5/configure qpxtool-0.7.0pre5.001/configure
--- qpxtool-0.7.0pre5/configure 2009-10-01 16:48:40.000000000 +0400
+++ qpxtool-0.7.0pre5.001/configure     2009-10-04 23:06:25.000000000 +0400
@@ -16,7 +16,6 @@
__cc=cc
__cxx=c++
__defprefix=""
-__prefx=""
__prefix=""
__enable_debug=no
__enable_png=yes
@@ -264,7 +263,7 @@
                echo "CFLAGS   += -g" >> Makefile
        fi

-       if test "$QSL" = "darwin" ; then
+       if test "$OSL" = "darwin" ; then
                echo "QMAKESPEC=macx-g++" >> Makefile
                echo "export QMAKESPEC" >> Makefile
        fi
@@ -444,8 +443,8 @@
        case "$OSL" in
                darwin)
                        echo "
-LIB_SHORT  = $__libpref)\$(LIBN)$__libsuff
-LIB        = $__libpref)\$(LIBN).\$(VER_MAJOR).\$(VER_MINOR).\$(VER_MICRO)$__libsuff
+LIB_SHORT  = $__libpref\$(LIBN)$__libsuff
+LIB        = $__libpref\$(LIBN).\$(VER_MAJOR).\$(VER_MINOR).\$(VER_MICRO)$__libsuff

CXXFLAGS += -I. -I./include -I../include
LDFLAGS  += -dynamiclib -Wl -install_name \$(LIBDIR)/\$(LIB_NAME)

User avatar
ShultZ
Developer
 
Posts: 31
Joined: Mon May 15, 2006 16:40
Location: Moscow, Russia

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby caleban » Fri Oct 09, 2009 01:19

If I try make or make cli in the root directory I get errors because there's no make file in the root directory.

~/Downloads/qpxtool-0.7.0pre5 > make cli
make: *** No rule to make target `cli'. Stop.

If I try make in the console directory I get the below errors:

~/Downloads/qpxtool-0.7.0pre5/console > make
make -C readdvd DIR=readdvd
g++ -I. -I../../lib/include -c -o deadreader.o deadreader.cpp
./sectmap.h:54: error: ISO C++ forbids declaration of ‘Mutex’ with no type
./sectmap.h:54: error: expected ‘;’ before ‘*’ token
./imgwriter.h:33: error: ISO C++ forbids declaration of ‘Mutex’ with no type
./imgwriter.h:33: error: expected ‘;’ before ‘*’ token
make[1]: *** [deadreader.o] Error 1
make: *** [readdvd] Error 2
caleban
 
Posts: 3
Joined: Fri Oct 09, 2009 00:32

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby ShultZ » Sun Oct 11, 2009 11:42

caleban wrote:~/Downloads/qpxtool-0.7.0pre5 > make cli
make: *** No rule to make target `cli'. Stop.

try to run ./configure before make :)
Plextor PX-5224TA, PX-716A, PX-755A, PX-760SA,
Yamaha CRW-F1, ASUS BLT-1814, NEC 3450, LiteOn H20A
User avatar
ShultZ
Developer
 
Posts: 31
Joined: Mon May 15, 2006 16:40
Location: Moscow, Russia

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby caleban » Mon Oct 12, 2009 15:34

Thanks. That helped a lot. Now I get the below error:

Code: Select all
~/Downloads/qpxtool-0.7.0pre5 > make cli
make -C lib
make -C qpxtransport DIR=qpxtransport all
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include   -c -o common_functions.o common_functions.cpp
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include   -c -o qpx_transport.o qpx_transport.cpp
qpx_transport.cpp:767: warning: ‘int iokit_err(IOReturn, SCSITaskStatus, const unsigned char*)’ defined but not used
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include   -c -o qpx_mmc.o qpx_mmc.cpp
qpx_mmc.cpp: In function ‘int scanbus(int)’:
qpx_mmc.cpp:665: warning: unused variable ‘j’
./include/qpx_transport.h: At global scope:
./include/qpx_transport.h:326: warning: ‘int iokit_err(IOReturn, SCSITaskStatus, const unsigned char*)’ declared ‘static’ but never defined
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include   -c -o qpx_mmc_css.o qpx_mmc_css.cpp
qpx_mmc_css.cpp:598:2: warning: #warning clean title keys
qpx_mmc_css.cpp:1611:2: warning: #warning "Reset the drive before trying to continue"
./include/qpx_transport.h:326: warning: ‘int iokit_err(IOReturn, SCSITaskStatus, const unsigned char*)’ declared ‘static’ but never defined
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include   -c -o threads.o threads.cpp
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include   -c -o sense.o sense.cpp
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit -lpthread
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit -lpthread '
make[2]: *** [lib)qpxtransport.0.7.0.dylib] Error 2
make[1]: *** [all] Error 2
make: *** [lib] Error 2
caleban
 
Posts: 3
Joined: Fri Oct 09, 2009 00:32

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby ShultZ » Mon Oct 12, 2009 19:01

caleban wrote:Thanks. That helped a lot. Now I get the below error:


please, try patch from this post:
http://qpxtool.siteboard.org/f33t118-qpxtool-0-7pre1-macos-installation-instructions.html#p402
Plextor PX-5224TA, PX-716A, PX-755A, PX-760SA,
Yamaha CRW-F1, ASUS BLT-1814, NEC 3450, LiteOn H20A
User avatar
ShultZ
Developer
 
Posts: 31
Joined: Mon May 15, 2006 16:40
Location: Moscow, Russia

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby caleban » Mon Oct 12, 2009 20:41

Do I need to download qpxtool-0.7.0pre5.001/configure from somewhere?
I looked on sourceforge and couldn't find it.
caleban
 
Posts: 3
Joined: Fri Oct 09, 2009 00:32

Re: QPxTool-0.7pre1 MacOS installation instructions

Postby ShultZ » Mon Oct 12, 2009 22:29

caleban wrote:Do I need to download qpxtool-0.7.0pre5.001/configure from somewhere?
I looked on sourceforge and couldn't find it.

no, latest released version is 0.7.0pre5, patch posted in this thread...
but 0.7.0pre6 (or 0.7.0-RC1) will be out in a few days with some more OSX fixes. it builds and installs under OSX out-of-the-box
you can email me if you want to get current
Plextor PX-5224TA, PX-716A, PX-755A, PX-760SA,
Yamaha CRW-F1, ASUS BLT-1814, NEC 3450, LiteOn H20A
User avatar
ShultZ
Developer
 
Posts: 31
Joined: Mon May 15, 2006 16:40
Location: Moscow, Russia


Return to Installation and General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron