Author Topic: Lima bundle released  (Read 6838 times)

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Lima bundle released
« on: January 17, 2008, 03:04:43 pm »
See: http://lpmuds.net/downloads.html

So I got sick of waiting for responses from all the Lima
guys to give me permission to create a bundle, and I
instead created a patch bundle.

What this means is, you download Lima, then you download
the bundle, and uncompress both. You copy the lib/
directory from the original distribution into the
patch bundle, follow some simple instructions included,
and shazam, you'll have an operational Lima mud that
will run on unix or windows.

I'd still like to get permission to do a proper
bundle from the Lima guys, but it's been over a year since
I started that process, so I'm starting to feel less
optimistic of that ever happening. :)

Anyway, this new bundle is only slightly more
complicated to install than the regular ones, and
works just as well.

Please share your experiences with the rest of the class here,
since this is the first time I do a patch thingy, and
I'm sure I've goofed on something somewhere.

-Crat

Offline boobay

  • Acquaintance
  • *
  • Posts: 41
    • View Profile
Re: Lima bundle released
« Reply #1 on: January 17, 2008, 03:55:45 pm »
I've had quite a bit of experience using the last release of FluffOS with Lima. The only problem i've really had was with MySQL support. About to download the new FluffOS release and see how it works =)

Offline boobay

  • Acquaintance
  • *
  • Posts: 41
    • View Profile
Re: Lima bundle released
« Reply #2 on: January 20, 2008, 12:20:41 pm »
Well, I didn't use your bundled package but everything is compiling fine on my Ubuntu laptop.

Using this local_options which may be the same as the bundled version. Will there be MySQL support in the future?

Code: [Select]
#define SYSMALLOC
#undef SMALLOC
#undef BSDMALLOC
#undef WRAPPEDMALLOC
#undef DEBUGMALLOC
#undef SBRK_OK
#undef DO_MSTATS
#undef DEBUGMALLOC_EXTENSIONS
#define CHECK_MEMORY
#undef HAS_STATUS_TYPE
#undef COMPRESS_FUNCTION_TABLES
#define SANE_EXPLODE_STRING
#undef REVERSIBLE_EXPLODE_STRING
#undef CAST_CALL_OTHERS
#define NONINTERACTIVE_STDERR_WRITE
#define NO_LIGHT
#define NO_ADD_ACTION
#undef NO_SNOOP
#undef NO_ENVIRONMENT
#define NO_WIZARDS
#undef OLD_TYPE_BEHAVIOR
#undef OLD_RANGE_BEHAVIOR
#undef OLD_ED
#undef SENSIBLE_MODIFIERS
#define CUSTOM_CRYPT
#undef COMPAT_32
#define STRING_STATS
#define ARRAY_STATS
#define LOG_CATCHES
#undef ARGUMENTS_IN_TRACEBACK
#undef LOCALS_IN_TRACEBACK
#define MUDLIB_ERROR_HANDLER
#define CONFIG_FILE_DIR "./"
#define DEFAULT_PRAGMAS 0
#define SUPPRESS_ARGUMENT_WARNINGS
#undef NO_RESETS
#undef LAZY_RESETS
#define SAVE_EXTENSION ".o"
#define NO_ANSI
#define STRIP_BEFORE_PROCESS_INPUT
#define OPCPROF
#undef OPCPROF_2D
#define TRAP_CRASHES
#define THIS_PLAYER_IN_CALL_OUT
#define CALLOUT_HANDLES
#undef FLUSH_OUTPUT_IMMEDIATELY
#define PRIVS
#define INTERACTIVE_CATCH_TELL
#define RESTRICTED_ED
#undef NO_SHADOWS
#undef SNOOP_SHADOWED
#define RECEIVE_SNOOP
#undef PROFILE_FUNCTIONS
#undef NO_BUFFER_TYPE
#undef BINARIES
#define ARRAY_RESERVED_WORD
#define REF_RESERVED_WORD
#define PACKAGE_CONTRIB
#define PACKAGE_DEVELOP
#define PACKAGE_MATH
#define PACKAGE_MATRIX
#define PACKAGE_MUDLIB_STATS
#define PACKAGE_SOCKETS
#define PACKAGE_PARSER
#undef PACKAGE_EXTERNAL
#ifdef PACKAGE_EXTERNAL
#define NUM_EXTERNAL_CMDS 5
#endif
#undef PACKAGE_DB
#ifdef PACKAGE_DB
#undef USE_MSQL 1 /* MiniSQL, it's small; it's free */
#define USE_MYSQL 2 /* MySQL, bigger; it's free */
#define DEFAULT_DB USE_MYSQL /* default database */
#endif
#undef PACKAGE_UIDS
#undef AUTO_SETEUID
#undef AUTO_TRUST_BACKBONE
#undef USE_32BIT_ADDRESSES
#define HEARTBEAT_INTERVAL 1
#define CALLOUT_CYCLE_SIZE 32
#define LARGEST_PRINTABLE_STRING 8192
#define MESSAGE_BUFFER_SIZE 4096
#define APPLY_CACHE_BITS 11
#define CACHE_STATS
#undef TRACE
#undef LPC_TO_C
#undef RUNTIME_LOADING
#undef TRACE_CODE
#define HEART_BEAT_CHUNK      32
#undef GET_CHAR_IS_BUFFERED
#define SMALL_STRING_SIZE     100
#define LARGE_STRING_SIZE     1000
#define MAX_SAVE_SVALUE_DEPTH 100
#define CFG_MAX_LOCAL_VARIABLES 50
#define CFG_EVALUATOR_STACK_SIZE 1000
#define CFG_MAX_CALL_DEPTH 150
#define CFG_LIVING_HASH_SIZE 256
#define NEXT_MALLOC_DEBUG
#undef HAVE_ZLIB
#undef WOMBLES
#undef PACKAGE_COMPRESS
#undef PACKAGE_DWLIB
#undef CALL_OTHER_WARN
#undef CALL_OTHER_TYPE_CHECK
#define NUM_EXTERNAL_CMDS 1
#undef MMALLOC
#undef WARN_TAB
#undef USE_ICONV
#define SAVE_GZ_EXTENSION ".o.gz"
#define COMMAND_BUF_SIZE 2000
#define CFG_COMPILER_STACK_SIZE 600000
#undef SERVER_IP
#define ALLOW_INHERIT_AFTER_FUNCTION
#define PARSE_DEBUG
#define FLUFFOS
#undef MINGW

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Lima bundle released
« Reply #3 on: January 20, 2008, 12:43:13 pm »
Quote
Will there be MySQL support in the future?

I'm not developing Lima at all, so *I* won't be doing that, no.

-Crat

Offline quixadhal

  • BFF
  • ***
  • Posts: 642
    • View Profile
    • WileyMUD
Re: Lima bundle released
« Reply #4 on: January 20, 2008, 05:48:27 pm »
I believe Wodan has suggested that future versions of FluffOS drop native SQL support in favor of using a stand-alone daemon via an outbound connection to handle SQL requests.  I think that's a
good idea, considering that not everyone can agree which database to support (I'm in the minority that does NOT use MySQL, I use PostgreSQL), and coding for ODBC is quite a pain in the rear, at least in the C language.

It might be worth the time to take the python script the discworld folks are using and generalize that for use with ODBC.  That would cover 90% of the database systems out there and have the added bonus that one could switch from MySQL to Oracale to DB2 without touching a line of code (provided you don't make use of RDBMS-specific things in your queries).

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Lima bundle released
« Reply #5 on: January 02, 2011, 12:44:52 pm »
Puddy@Puddy-PC /c/lima/diffs
$ sh unix_patch
patching file lib/contrib/homepage_d.c
Reversed (or previously applied) patch detected!  Assume -R? [n]

Is the patch already applied to all the files? This was a stock unarchive. Sorry I should have posted under this thread with the earlier Win bundle post

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Lima bundle released
« Reply #6 on: January 02, 2011, 12:52:40 pm »
Puddy@Puddy-PC /c/lima/diffs
$ sh unix_patch
patching file lib/contrib/homepage_d.c
Reversed (or previously applied) patch detected!  Assume -R? [n]

Is the patch already applied to all the files? This was a stock unarchive. Sorry I should have posted under this thread with the earlier Win bundle post

Please be more clear. I really have no idea what you're asking.

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: Lima bundle released
« Reply #7 on: January 02, 2011, 01:33:54 pm »
In order to avoid further confusion, I'd like to announce in this thread that it is no longer
necessary to follow the patch process. There is now a regular-style Lima bundle that's
been fixed up and updated, and that does not need to be patched.

Please see this thread for more information:

http://lpmuds.net/forum/index.php?topic=899.0