More 1.8 stuff

Tarjei Huse <tarjei-y/[email protected]>
Newsgroups gmane.comp.web.midgard.devel
Message-ID <1138466201.5057.99.camel@localhost>
It seems neither make install nor datagard creates /etc/midgard/conf.d:

midgard-schema schema/midcom_dbobjects.xml
Schema-Message: Using 'schema/midcom_dbobjects.xml' configuration file
(process:7877): midgard-core-DEBUG: Reading schema
file /opt/lampp/share/midgard/MgdObjects.xml

midgard-lib-CRITICAL **: Unable to open /opt/lampp/etc/midgard/conf.d
directory
aborting...
Trace/breakpoint trap



Also, when trying to run midgard-schema:
Schema-Message: Using 'local' configuration file
(process:7911): midgard-core-DEBUG: Reading schema
file /opt/lampp/share/midgard/MgdObjects.xml

(process:7911): midgard-core-WARNING **: Schema directive used , but no
file defined. Using default Schema.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 7911)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x400651e8 in IA__g_hash_table_lookup (hash_table=0x8091f70,
key=0x405100df) at ghash.c:193
#2  0x404fd02a in midgard_schema_lookup_member_property
(schema=0x8091f37, type=0x8091f70 "\034", field=0x405100df "dbtype",
prop=0x405100df "dbtype") at src/mgdschema.c:244
#3  0x40506b06 in midgard_object_create_storage (object=0x809c3d8) at
src/query.c:340
#4  0x080491be in _print_all_types (key=0x809c3d8, val=0x8091d18,
user_data=0x807cf48) at test/midgard-schema.c:125
#5  0x40065b16 in IA__g_hash_table_foreach (hash_table=0x806bda0,
func=0x8049130 <_print_all_types>, user_data=0x807cf48) at ghash.c:563
#6  0x080492d7 in main (argc=2, argv=0x405100df) at
test/midgard-schema.c:175


My configfile "local" looks like this:
Type=Mysql
Host=
Name=midgard
Username=midgard
Password=midgard
Encoding=utf-8
Blobdir=/opt/lampp/var/lib/midgard/blobs/midgard/
Schema=
Logfile=/opt/lampp/logs/midgard.log
#Loglevel=message
Dbcreate=yes
Dbupdate=yes
#Testunit=yes
#SGadmin=admin
#SGpassword=password

Tarjei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.