Spike Brewing 12.5 Conical Fermenter Giveaway!

Home Brew Forums > Home Brewing Beer > Brewing Software > troubles installing brewtarget

Reply
 
LinkBack Thread Tools
Old 12-21-2010, 07:34 AM   #1
HH60gunner
Feedback Score: 0 reviews
Recipes 
 
Join Date: Mar 2010
Location: Tucson, AZ
Posts: 387
Liked 9 Times on 4 Posts
Likes Given: 2

Default troubles installing brewtarget

Ok,

So I'm no linux wizard but I'm learning as I go along. I'm trying to install brewtarget but just can't seem to. I tried the deb package but it won't work on my 64 bit ubuntu. So I tried compiling the source (still new to that). Here's where I'm stuck.

So I run the ./configure and I get

---Configure script for Brewtarget.
OS: Linux...yay!
/usr/bin/qmake brewtarget.pro

You are now ready to run "/usr/bin/make" then "/usr/bin/make install".

So I type sudo /usr/bin/make and get this

enderusaf@GeekBox:~/Downloads/temp/brewtarget-1.2$ sudo /usr/bin/make
/usr/bin/uic-qt4 ui/aboutDialog.ui -o src/ui_aboutDialog.h
make: /usr/bin/uic-qt4: Command not found
make: *** [src/ui_aboutDialog.h] Error 127



What am I doing wrong?

if I use /usr/bin/qmake the command enters and gives me another prompt.

when I type enderusaf@GeekBox:~/Downloads/temp/brewtarget-1.2$ sudo /usr/bin/qmake install
Cannot find file: install.



What am I doing wrong?

__________________
HH60gunner is offline
 
Reply With Quote Quick reply to this message
Old 12-21-2010, 10:48 AM   #2
vortexla
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
vortexla's Avatar
Recipes 
 
Join Date: May 2010
Location: Los Angeles County, California
Posts: 151
Likes Given: 1

Default

It would appear you are missing the libqt4 development binaries and headers. On Debian you can install them by doing apt-get install libqt4-dev

-Chris
Debian Developer =)

__________________
Crag Rat Brewing Co

Upcoming: All Cascade IPA, Brett L Pale Ale, Brett A Pale Ale, Brett B Pale Ale, Sour Belgian Pale Ale, pLambic, Gose, Oaked RIS
Primary: Munich Helles, Strawberry Mead
Bottled: Brett C Blonde Ale, Berliner Weiss, Orange Mead
vortexla is offline
 
Reply With Quote Quick reply to this message
Old 12-21-2010, 04:52 PM   #3
HH60gunner
Feedback Score: 0 reviews
Recipes 
 
Join Date: Mar 2010
Location: Tucson, AZ
Posts: 387
Liked 9 Times on 4 Posts
Likes Given: 2

Default

Quote:
Originally Posted by vortexla View Post
It would appear you are missing the libqt4 development binaries and headers. On Debian you can install them by doing apt-get install libqt4-dev

-Chris
Debian Developer =)

enderusaf@GeekBox:~/Downloads/temp/brewtarget-1.2$ sudo make
/usr/bin/uic-qt4 ui/aboutDialog.ui -o src/ui_aboutDialog.h
/usr/bin/uic-qt4 ui/brewDayWidget.ui -o src/ui_brewDayWidget.h
/usr/bin/uic-qt4 ui/converterTool.ui -o src/ui_converterTool.h
/usr/bin/uic-qt4 ui/mainWindow.ui -o src/ui_mainWindow.h
/usr/bin/uic-qt4 ui/mashStepEditor.ui -o src/ui_mashStepEditor.h
/usr/bin/uic-qt4 ui/miscEditor.ui -o src/ui_miscEditor.h
/usr/bin/uic-qt4 ui/fermentableEditor.ui -o src/ui_fermentableEditor.h
/usr/bin/uic-qt4 ui/fermentableDialog.ui -o src/ui_fermentableDialog.h
/usr/bin/uic-qt4 ui/equipmentEditor.ui -o src/ui_equipmentEditor.h
/usr/bin/uic-qt4 ui/hopDialog.ui -o src/ui_hopDialog.h
/usr/bin/uic-qt4 ui/hopEditor.ui -o src/ui_hopEditor.h
/usr/bin/uic-qt4 ui/htmlViewer.ui -o src/ui_htmlViewer.h
/usr/bin/uic-qt4 ui/instructionWidget.ui -o src/ui_instructionWidget.h
/usr/bin/uic-qt4 ui/mashEditor.ui -o src/ui_mashEditor.h
/usr/bin/uic-qt4 ui/mashWizard.ui -o src/ui_mashWizard.h
/usr/bin/uic-qt4 ui/miscDialog.ui -o src/ui_miscDialog.h
/usr/bin/uic-qt4 ui/ogAdjuster.ui -o src/ui_ogAdjuster.h
/usr/bin/uic-qt4 ui/optionsDialog.ui -o src/ui_optionsDialog.h
/usr/bin/uic-qt4 ui/primingDialog.ui -o src/ui_primingDialog.h
/usr/bin/uic-qt4 ui/scaleRecipeTool.ui -o src/ui_scaleRecipeTool.h
/usr/bin/uic-qt4 ui/styleEditor.ui -o src/ui_styleEditor.h
'' isn't a valid widget
/usr/bin/uic-qt4 ui/timerListDialog.ui -o src/ui_timerListDialog.h
/usr/bin/uic-qt4 ui/timerWidget.ui -o src/ui_timerWidget.h
/usr/bin/uic-qt4 ui/yeastDialog.ui -o src/ui_yeastDialog.h
/usr/bin/uic-qt4 ui/yeastEditor.ui -o src/ui_yeastEditor.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -I/usr/include/qt4/phonon_compat -Isrc -Isrc -o Algorithms.o src/Algorithms.cpp
src/Algorithms.cpp: In function ‘double PlatoToSG_20C20C(double)’:
src/Algorithms.cpp:128: warning: comparison between signed and unsigned integer expressions
src/Algorithms.cpp: In function ‘double rootFind(double*, unsigned int, double, double)’:
src/Algorithms.cpp:92: warning: ‘newGuess’ may be used uninitialized in this function
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -I/usr/include/qt4/phonon_compat -Isrc -Isrc -o database.o src/database.cpp
In file included from src/TimerListDialog.h:26,
from src/MainWindow.h:57,
from src/brewtarget.h:28,
from src/database.cpp:45:
src/TimerWidget.h:31: fatal error: mediaobject.h: No such file or directory
compilation terminated.
make: *** [database.o] Error 1



ok, this is where I'm at now.
__________________
HH60gunner is offline
 
Reply With Quote Quick reply to this message
Old 12-21-2010, 07:07 PM   #4
Hermit
Feedback Score: 0 reviews
Recipes 
 
Join Date: Nov 2009
Location: Alternate Universe
Posts: 2,223
Liked 61 Times on 55 Posts
Likes Given: 10

Default

http://www.linuxquestions.org/questions/programming-9/phonon-mediaobject-no-such-file-or-directory-728306/

I use Mandriva and ran into this problem. I just go into the makefile, if the file exists, and make changes to it there.

To see if the file exists I use locate.

locate mediaobject.h

If locate doesn't have a database installed, then....

updatdb

(you have to make a database of files to reference first)
__________________
Hermit is offline
 
Reply With Quote Quick reply to this message
Old 12-21-2010, 07:32 PM   #5
HH60gunner
Feedback Score: 0 reviews
Recipes 
 
Join Date: Mar 2010
Location: Tucson, AZ
Posts: 387
Liked 9 Times on 4 Posts
Likes Given: 2

Default

Quote:
Originally Posted by Hermit View Post
http://www.linuxquestions.org/questions/programming-9/phonon-mediaobject-no-such-file-or-directory-728306/

I use Mandriva and ran into this problem. I just go into the makefile, if the file exists, and make changes to it there.

To see if the file exists I use locate.

locate mediaobject.h

If locate doesn't have a database installed, then....

updatdb

(you have to make a database of files to reference first)
This is the results of my locate mediaobject.h however I don't know what to do from there. For now I installed brewtarget on windows, but that makes me a sad panda.

enderusaf@GeekBox:~$ locate mediaobject.h
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/doc/html/phonon-mediaobject.html
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/include/phonon/mediaobject.h
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/src/3rdparty/phonon/ds9/mediaobject.h
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/src/3rdparty/phonon/gstreamer/mediaobject.h
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/src/3rdparty/phonon/mmf/mediaobject.h
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/src/3rdparty/phonon/phonon/mediaobject.h
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/src/3rdparty/phonon/qt7/mediaobject.h
/home/enderusaf/Downloads/QtDownload/qt-everywhere-opensource-src-4.7.1/src/3rdparty/phonon/waveout/mediaobject.h
/usr/share/doc/docbook-defguide/html/inlinemediaobject.html
/usr/share/doc/docbook-defguide/html/mediaobject.html
/usr/share/doc/docbook-xsl-doc-html/doc/common/template.is.acceptable.mediaobject.html
/usr/share/doc/docbook-xsl-doc-html/doc/common/template.select.mediaobject.html
/usr/share/doc/docbook-xsl-doc-html/doc/fo/use.role.for.mediaobject.html
/usr/share/doc/docbook-xsl-doc-html/doc/html/use.role.for.mediaobject.html
__________________
HH60gunner is offline
 
Reply With Quote Quick reply to this message
Old 12-21-2010, 07:59 PM   #6
Hermit
Feedback Score: 0 reviews
Recipes 
 
Join Date: Nov 2009
Location: Alternate Universe
Posts: 2,223
Liked 61 Times on 55 Posts
Likes Given: 10

Default

Hmm.. did you try Chris's suggestion?

apt-get install libqt4-dev

I haven't done anything Debian based in a while but I think that would install the libs instead of trying to download a tarball and installing from that?

__________________
Hermit is offline
 
Reply With Quote Quick reply to this message
Old 12-21-2010, 11:14 PM   #7
vortexla
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
vortexla's Avatar
Recipes 
 
Join Date: May 2010
Location: Los Angeles County, California
Posts: 151
Likes Given: 1

Default

You are also missing the phonon headers you can install the libphonon-dev package and re-run configure. That should fix most of those problems.

__________________
Crag Rat Brewing Co

Upcoming: All Cascade IPA, Brett L Pale Ale, Brett A Pale Ale, Brett B Pale Ale, Sour Belgian Pale Ale, pLambic, Gose, Oaked RIS
Primary: Munich Helles, Strawberry Mead
Bottled: Brett C Blonde Ale, Berliner Weiss, Orange Mead
vortexla is offline
 
Reply With Quote Quick reply to this message
Old 12-22-2010, 02:32 AM   #8
HH60gunner
Feedback Score: 0 reviews
Recipes 
 
Join Date: Mar 2010
Location: Tucson, AZ
Posts: 387
Liked 9 Times on 4 Posts
Likes Given: 2

Default

Ok,

So that brought me one step closer. I have installed both packages as recommended. Now the make command works with no errors but when I try to do the /usr/bin/make install no install command is found. Any ideas?

__________________
HH60gunner is offline
 
Reply With Quote Quick reply to this message
Old 12-22-2010, 01:33 PM   #9
Hermit
Feedback Score: 0 reviews
Recipes 
 
Join Date: Nov 2009
Location: Alternate Universe
Posts: 2,223
Liked 61 Times on 55 Posts
Likes Given: 10

Default

Quote:
Originally Posted by HH60gunner View Post
Ok,

So that brought me one step closer. I have installed both packages as recommended. Now the make command works with no errors but when I try to do the /usr/bin/make install no install command is found. Any ideas?
What is the exact error?
__________________
Hermit is offline
 
Reply With Quote Quick reply to this message
Old 12-22-2010, 03:26 PM   #10
HH60gunner
Feedback Score: 0 reviews
Recipes 
 
Join Date: Mar 2010
Location: Tucson, AZ
Posts: 387
Liked 9 Times on 4 Posts
Likes Given: 2

Default

Quote:
Originally Posted by Hermit View Post
What is the exact error?
enderusaf@GeekBox:~/Downloads/Brewtemp/brewtarget-1.2$ sudo /usr/bin/make install
[sudo] password for enderusaf:
install -m 755 -p "brewtarget" "/usr/local/bin/brewtarget"
/bin/sh: install: not found
make: [install_target] Error 127 (ignored)
strip "/usr/local/bin/brewtarget"
strip: '/usr/local/bin/brewtarget': No such file
make: [install_target] Error 1 (ignored)
install -m 644 -p /home/enderusaf/Downloads/Brewtemp/brewtarget-1.2/database.xml /usr/local/share/brewtarget/
make: install: Command not found
make: [install_data] Error 127 (ignored)
install -m 644 -p /home/enderusaf/Downloads/Brewtemp/brewtarget-1.2/mashs.xml /usr/local/share/brewtarget/
make: install: Command not found
make: [install_data] Error 127 (ignored)
install -m 644 -p /home/enderusaf/Downloads/Brewtemp/brewtarget-1.2/options.xml /usr/local/share/brewtarget/
make: install: Command not found
make: [install_data] Error 127 (ignored)
install -m 644 -p /home/enderusaf/Downloads/Brewtemp/brewtarget-1.2/recipes.xml /usr/local/share/brewtarget/
make: install: Command not found
make: [install_data] Error 127 (ignored)
install -m 644 -p /home/enderusaf/Downloads/Brewtemp/brewtarget-1.2/README /usr/local/share/doc/brewtarget/
make: install: Command not found
make: [install_doc] Error 127 (ignored)
install -m 644 -p /home/enderusaf/Downloads/Brewtemp/brewtarget-1.2/COPYING /usr/local/share/doc/brewtarget/
make: install: Command not found
make: [install_doc] Error 127 (ignored)
install -m 644 -p /home/enderusaf/Downloads/Brewtemp/brewtarget-1.2/doc/manual/index.html /usr/local/share/doc/brewtarget/
make: install: Command not found
make: [install_doc] Error 127 (ignored)
enderusaf@GeekBox:~/Downloads/Brewtemp/brewtarget-1.2$
__________________
HH60gunner is offline
 
Reply With Quote Quick reply to this message
Reply


Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Brewtarget 1.2.2 - Free Open Source Brewing Software rocketman768 Brewing Software 262 03-18-2014 10:09 PM
Brewtarget recipe contest rocketman768 Brewing Software 22 08-05-2011 06:34 PM
BrewTarget 1.2.2 - Is there a brew day summary screen? (not the mode) culturejam Brewing Software 2 12-07-2010 11:37 PM
LifeHacker does story on BrewTarget Brewmoor Brewing Software 1 02-08-2010 03:26 PM
BrewTarget off? NAVET Brewing Software 0 01-09-2010 01:03 PM