Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope svn doesent compile under windows?  (Read 5013 times)

0 Members and 1 Guest are viewing this topic.

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/
Anope svn doesent compile under windows?
« on: October 13, 2009, 12:23:04 AM »

Setting environment for using Microsoft Visual Studio 2008 x86 tools.

C:\Program Files\Microsoft Visual Studio 9.0\VC>cd C:\Users\therock247uk\Desktop
\svn-trunk.tar\trunk

C:\Users\therock247uk\Desktop\svn-trunk.tar\trunk>config
   ___
  / _ \  http://www.anope.org
 | /_\ | _ __  _ _  _ _   ___
 |  _  || '_ \/ _ \/ _ \ / _ \
 | | | || | |  |_|  |_| |  __/
 |_| |_||_| |_\___/|  _/ \___|
                   | |
                   |_| IRC Services
                             1.9.1.0-explodes-on-impact
This program will help you to compile your Services, and ask you
questions regarding the compile-time settings of it during the
process.

Anope is a set of Services for IRC networks that allows users to
manage their nicks and channels in a secure and efficient way,
and administrators to manage their network with powerful tools.

For all your Anope needs please visit our portal at www.anope.org


Press Enter to Begin...


In what directory do you want Anope to be installed?

Install directory:
c:/test
c:/test does not exist.  Create it ([yes]/no)?

yes

Would you like to build using NMake instead of using Visual Studio?
NOTE: If you decide to use NMake, you must be in an environment where
      NMake can function, such as the Visual Studio command line.
      If you say yes to this while not in an environment that can run
      NMake, it can cause the CMake configuration to enter an endless
      loop.

Available Options: yes, no
Default Answer: no

Use NMake?
yes

Would you like to build a debug version of Anope?

Available Options: yes, no
Default Answer: no

Build debug?
no


Anope will be compiled with the following options:

        Install Directory:              [C:/TEST]
        Use NMake:              [YES]
        Debug:          [NO]
        Visual Studio 2008:             [NO]
        Anope Version:                  1.9.1.0-explodes-on-impact

To continue, please press Enter...

cmake -DINSTDIR:STRING="c:/test" -G"NMake Makefiles" -DCMAKE_BUILD_TYPE:STRING=R
ELEASE  "C:/Users/therock247uk/Desktop/svn-trunk.tar/trunk/"

-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1500
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/
VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/
VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The C compiler identification is MSVC
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC
/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC
/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/select.h
-- Looking for sys/select.h - not found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - not found
-- Looking for setgrent
-- Looking for setgrent - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - not found
-- Looking for stricmp
-- Looking for stricmp - found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for umask
-- Looking for umask - found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of uint8_t
-- Check size of uint8_t - failed
-- Check size of u_int8_t
-- Check size of u_int8_t - failed
-- Check size of int16_t
-- Check size of int16_t - failed
-- Check size of uint16_t
-- Check size of uint16_t - failed
-- Check size of u_int16_t
-- Check size of u_int16_t - failed
-- Check size of int32_t
-- Check size of int32_t - failed
-- Check size of uint32_t
-- Check size of uint32_t - failed
-- Check size of u_int32_t
-- Check size of u_int32_t - failed
-- Configuring incomplete, errors occurred!
CMake Error at Anope.cmake:161 (list):
  list sub-command SORT requires list to be present.
Call Stack (most recent call first):
  src/modules/CMakeLists.txt:66 (sort_list)



There was an error attempting to run CMake! Check the above error message,
and contact the Anope team if you are unsure how to proceed.

Press any key to continue . . .

C:\Users\therock247uk\Desktop\svn-trunk.tar\trunk>
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Anope svn doesent compile under windows?
« Reply #1 on: October 13, 2009, 01:22:43 AM »

Run Config from outside of the directory (eg, in the directory where you want to install it)

cd C:\test
C:\Users\...\trunk\Config
Logged

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/
Re: Anope svn doesent compile under windows?
« Reply #2 on: October 13, 2009, 01:32:53 AM »

Same thing i never had this issue before always been able to compile 1.9 myself easliy.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Anope svn doesent compile under windows?
« Reply #3 on: October 13, 2009, 02:00:39 AM »

Ah, reextract Anope. When you run cmake from the main Anope dir it places its folders it uses for stuff within Anopes folders, this causes that problem because it doesn't like the empty folders.
Logged

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/
Re: Anope svn doesent compile under windows?
« Reply #4 on: October 13, 2009, 02:25:59 AM »

Same thing.
Logged

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/
Re: Anope svn doesent compile under windows?
« Reply #5 on: October 13, 2009, 02:36:50 AM »

Got it working. dident work on windows 7 but my xp vmware it did.
Logged
Pages: [1]   Go Up