LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Troubles Compiling Truecrypt (https://www.linuxquestions.org/questions/linux-software-2/troubles-compiling-truecrypt-664449/)

fakie_flip 08-21-2008 05:14 PM

Troubles Compiling Truecrypt
 
Here are the instructions from the Readme.txt for compiling Truecrypt in Linux.

PHP Code:

IILinux and Mac OS X
======================

Requirements for Building TrueCrypt for Linux and Mac OS X:
-----------------------------------------------------------

GNU Make
GNU C++ Compiler 4.0 or compatible
Apple XCode (Mac OS X only)
pkg-config
wxWidgets 2.8 library source code (available at http://www.wxwidgets.org)
FUSE library (available at http://fuse.sourceforge.net and 
  
http://code.google.com/p/macfuse)


Instructions for Building TrueCrypt for Linux and Mac OS X:
-----------------------------------------------------------

1Change the current directory to the root of the TrueCrypt source code.

2Run the following command to configure the wxWidgets library for TrueCrypt 
   
and to build it

   $ 
make WX_ROOT=/usr/src/wxWidgets wxbuild

   The variable WX_ROOT must point to the location of the source code of the
   wxWidgets library
Output files will be placed in the './wxrelease/'
   
directory.

3To build TrueCryptrun the following command:

   $ 
make

4
) If successfulthe TrueCrypt executable should be located in the directory
   
'Main'.

By default, a universal executable supporting both graphical and text user
interface is builtTo build a console-only executablewhich requires no GUI
library
, use the 'NOGUI' parameter:

   $ 
make NOGUI=1 WX_ROOT=/usr/src/wxWidgets wxbuild
   
make NOGUI=

So I followed those directions, and this is what happened.

PHP Code:

[chris@localhost Desktop]$ tar -xf wxWidgets-2.8.8.tar.bz2 
[chris@localhost Desktop]$ mkdir TrueCrypt6.0aSource
[chris@localhost Desktop]$ man unzip
[chris@localhost Desktop]$ unzip -q TrueCrypt6.0aSource.zip -d TrueCrypt6.0aSource/
[
chris@localhost Desktop]$ cd TrueCrypt6.0aSource
[chris@localhost TrueCrypt 6.0a Source]$ make WX_ROOT=/home/chris/Desktop/wxWidgets-2.8.8 wxbuild
make
: *** No rule to make target `wxbuild'.  Stop.
[chris@localhost TrueCrypt 6.0a Source]$ 

Why is this not working?

keratos 08-21-2008 05:31 PM

run ./configure in the top dir.

src code builds always come with a ./configure so I cannot understand why the instructions omit this ?

John VV 08-21-2008 10:42 PM

also you did not build wxWidgets
all you did with "tar -xf wxWidgets-2.8.8.tar.bz2" was untar the arcive
you also need to run
Code:

./configure --prefix=/usr
make
su -
cd/( back to wxWidgets-2.8.8.)
make install



All times are GMT -5. The time now is 05:16 AM.