trogan42 / audioscout

Automatically exported from code.google.com/p/audioscout
GNU General Public License v3.0
0 stars 0 forks source link

Build/install process has hardcoded paths #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. build the project on a different system as a user other than 'david'
2. grep various makefiles for 'david' to find many hardcoded paths to 
/home/david/audioscout
3.

What is the expected output? What do you see instead?
Build completes successfullly

What version of the product are you using? On what operating system?
Kubuntu 11.10, latest version of project as of date of this bug filing.

Please provide any additional information below.
See attached Makefile for example fix of /libs makefile

Original issue reported on code.google.com by esun...@gmail.com on 20 Apr 2012 at 6:05

Attachments:

GoogleCodeExporter commented 8 years ago
You can generate a new makefile for your system using cmake.  The default make 
file was the one I generated.  It should not have been included in the 
distribution.  

You can create your own makefile by going into the build dir and typing "cmake 
.."  and then "make all" , etc.  

Original comment by starkd88@gmail.com on 20 Apr 2012 at 8:26

GoogleCodeExporter commented 8 years ago
Yeah, I finally just copied from SVN instead of the zip. I ran into some issues 
trying to find pAudioHashConfig.h and have gotten that squared away. Everything 
builds now, but when i run auscout-gui, nothing happens. I opened it because it 
is just a shellscript and it is trying to execute 'nohup ./ascout > /dev/null 
2>&1 &'. However, that auscout executable is not in the same directory as the 
gui script. In fact, I cannot find that executable anywhere. Am I missing 
something else to get the GUI to work?

Original comment by esun...@gmail.com on 20 Apr 2012 at 8:43

GoogleCodeExporter commented 8 years ago
The auscout-gui is useless now,  it launches a gui client app that uses QT, but 
is hopelessly broken at this point.  Just use the command line auscout program 
(auscoutclient.c) query and submit tot he servers.

Original comment by starkd88@gmail.com on 20 Apr 2012 at 9:01

GoogleCodeExporter commented 8 years ago
I will, thanks.

Original comment by esun...@gmail.com on 20 Apr 2012 at 9:04

GoogleCodeExporter commented 8 years ago
Here is an example of the change that I had to make to the CMakeLists.txt for 
server, client, and tests:

include_directories("${PROJECT_SOURCE_DIR}/../build/libs" 
"${PROJECT_SOURCE_DIR}/../libs")

This fixed the issue where it could not find the pAudioHashConfig.h file when 
compiling each of the projects. Hopefully this helps someone else.

Original comment by esun...@gmail.com on 20 Apr 2012 at 9:06

GoogleCodeExporter commented 8 years ago
Thanks esun...that helps massively.

Original comment by d...@ravn.co.uk on 14 Jan 2013 at 2:38