Compilar en ubuntu

  • Autor Autor tensapantera
  • Fecha de inicio Fecha de inicio
T

tensapantera

Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola que tal queria saber si alguien sabe como compilar en ubuntu, busque en google pero las guias que enconter son antiguas o no las entiendo del todo bien, estoy tratando de crear una criptomoneda basada en cryptonote para toquetear algunas cositas pero no se el repositorio es de dominio publico CryptoNote currency forking guide

Si alguien me puede ayudar gracias de antemano
 
Depende del archivo. Pero lo normal es...

./configure

make

sudo make install
 
[MENTION=167129]margarafefwe[/MENTION] [MENTION=15716]jmnm[/MENTION] pos hice lo que medijeron y al fin por primera vez me funciona el comando make

pero ahora me sale este error

Insertar CODE, HTML o PHP:
david@david-virtual-machine:~/Descargas/KatmusCoin$ make
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.58.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_system
          boost_filesystem
          boost_thread
          boost_date_time
          boost_chrono
          boost_regex
          boost_serialization
          boost_program_options

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:114 (find_package)


CMake Warning in CMakeLists.txt:
  CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
  been specified


-- Configuring incomplete, errors occurred!
See also "/home/david/Descargas/KatmusCoin/build/release/CMakeFiles/CMakeOutput.log".
See also "/home/david/Descargas/KatmusCoin/build/release/CMakeFiles/CMakeError.log".
Makefile:16: fallo en las instrucciones para el objetivo 'cmake-release'
make: *** [cmake-release] Error 1

CMakeOutput.log:
Insertar CODE, HTML o PHP:
https://jpst.it/TCVW

CMakeError.log
Insertar CODE, HTML o PHP:
https://jpst.it/TCWv

disculpen las molestias y gracias por la ayuda
 
[MENTION=167129]margarafefwe[/MENTION] [MENTION=15716]jmnm[/MENTION] pos hice lo que medijeron y al fin por primera vez me funciona el comando make

pero ahora me sale este error

Insertar CODE, HTML o PHP:
david@david-virtual-machine:~/Descargas/KatmusCoin$ make
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.58.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_system
          boost_filesystem
          boost_thread
          boost_date_time
          boost_chrono
          boost_regex
          boost_serialization
          boost_program_options

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:114 (find_package)


CMake Warning in CMakeLists.txt:
  CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
  been specified


-- Configuring incomplete, errors occurred!
See also "/home/david/Descargas/KatmusCoin/build/release/CMakeFiles/CMakeOutput.log".
See also "/home/david/Descargas/KatmusCoin/build/release/CMakeFiles/CMakeError.log".
Makefile:16: fallo en las instrucciones para el objetivo 'cmake-release'
make: *** [cmake-release] Error 1

CMakeOutput.log:
Insertar CODE, HTML o PHP:
https://jpst.it/TCVW

CMakeError.log
Insertar CODE, HTML o PHP:
https://jpst.it/TCWv

disculpen las molestias y gracias por la ayuda

Could not find the following Boost libraries:

boost_system
boost_filesystem
boost_thread
boost_date_time
boost_chrono
boost_regex
boost_serialization
boost_program_options

Al parecer falta el resto de las librerías, lo haz descargado todo? tienes instalado los compiladores?

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
 
Could not find the following Boost libraries:

boost_system
boost_filesystem
boost_thread
boost_date_time
boost_chrono
boost_regex
boost_serialization
boost_program_options

Al parecer falta el resto de las librerías, lo haz descargado todo? tienes instalado los compiladores?

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential

pues si resulta que sime faltaban esos ya ya los instale pero al querer compilar por fin me salen varios errores de "warning" y esa parte si que me comio vivo

Insertar CODE, HTML o PHP:
https://jpst.it/TDFY

si le puedes hechar un codigo genial pero puede que sea muy tedioso ya que es muy largo pero bueno gracias por la ayuda que se me ha proporcionado hasta ahora, seguire investigando
 
pues si resulta que sime faltaban esos ya ya los instale pero al querer compilar por fin me salen varios errores de "warning" y esa parte si que me comio vivo

Insertar CODE, HTML o PHP:
https://jpst.it/TDFY

si le puedes hechar un codigo genial pero puede que sea muy tedioso ya que es muy largo pero bueno gracias por la ayuda que se me ha proporcionado hasta ahora, seguire investigando

Creo que son los de compilar. ¿Instalaste build essential?
 
[MENTION=167129]margarafefwe[/MENTION] [MENTION=15716]jmnm[/MENTION] pues no me sigue saliendo las mismas advertencias (warning)

Como por ejemplo

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return *reinterpret_cast<ResultType*>(resultStorage);

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     new(valueArray)Array(*reinterpret_cast<const Array*>(other.valueArray));

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     new(valueArray)Array(*reinterpret_cast<const Array*>(other.valueArray));

Insertar CODE, HTML o PHP:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     (value & 0xfff00000) == ((172 << 24) | (16 << 16)) ||

Insertar CODE, HTML o PHP:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     (value & 0xffff0000) == ((192 << 24) | (168 << 16));

Insertar CODE, HTML o PHP:
warning: ‘blockIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   return blockIndex;
 
[MENTION=167129]margarafefwe[/MENTION] [MENTION=15716]jmnm[/MENTION] pues no me sigue saliendo las mismas advertencias (warning)

Como por ejemplo

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return *reinterpret_cast<ResultType*>(resultStorage);

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     new(valueArray)Array(*reinterpret_cast<const Array*>(other.valueArray));

Insertar CODE, HTML o PHP:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     new(valueArray)Array(*reinterpret_cast<const Array*>(other.valueArray));

Insertar CODE, HTML o PHP:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     (value & 0xfff00000) == ((172 << 24) | (16 << 16)) ||

Insertar CODE, HTML o PHP:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     (value & 0xffff0000) == ((192 << 24) | (168 << 16));

Insertar CODE, HTML o PHP:
warning: ‘blockIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   return blockIndex;

Ya ni idea, la verdad.
 
Atrás
Arriba