RangeNetworks / openbts

GSM+GPRS Radio Access Network Node
GNU Affero General Public License v3.0
864 stars 326 forks source link

'NodeManager/Makefile.in' not found.how to fix this,pls help. #19

Open samwbs opened 8 years ago

samwbs commented 8 years ago

Preparing build ... configure.ac:85: error: required file 'NodeManager/Makefile.in' not found

TransceiverRAD1/Makefile.am:95: warning: source file '../apps/GetConfigurationKeys.cpp' is in a subdirectory,

TransceiverRAD1/Makefile.am:95: but option 'subdir-objects' is disabled

automake: warning: possible forward-incompatibility.

automake: At least a source file is in a subdirectory, but the 'subdir-objects'

automake: automake option hasn't been enabled. For now, the corresponding output

automake: object file(s) will be placed in the top-level directory. However,

automake: this behaviour will change in future Automake versions: they will

automake: unconditionally cause object files to be placed in the same subdirectory

automake: of the corresponding sources.

automake: You are advised to start using 'subdir-objects' option throughout your

automake: project, to avoid future incompatibilities.

ERROR: automake failed

Keskebeu commented 7 years ago

Ok so when you download the file openbts you have to download smqueue, siauthServe and Asterisk. so all of directories we will copy into a directory which it includes them all. mkdir RangeNet or you can download the development where everything is wrapped up.

The reason why automake is failing is because it cannot find the file Makefile.in. So in this case as you enter RangeNet folder do the following in the directory

root@ubuntu/RangeNet#git submodule init (its going to come up with initializing a couple of sentences) root@ubuntu/RangeNet#git submodule update (this will update the folder by downloading the file Makefile.in the NodeManager directory)

Than after do: root@ubuntu/RangeNet#make clean root@ubuntu/RangeNet#make root@ubuntu/RangeNet#make install root@ubuntu/RangeNet#ldconfig

If you are not root make sure you do sudo. Also its better to compile openbts in /usr/src/ folder but I haven't met any challenges in any other folder Enjoy.

chrysmur commented 6 years ago

Try git clone --recursive "openbts url". it will pick all files for Commonlib and NodeManager