Afternoon all...
I finally got a chance to continue the FreeBSD Midgard 1.4 install.
I got up to installing midgard-php in my last message.
Removing all occurances of "-lglib" worked fine, except for the test for
g_byte_array_new on line 2370 of configure.in. Interestingly midgard-php
still compiled and linked (although it failed to detect the function). I
replaced the "glib" with "glib12" on that line and it detected
g_byte_array_new and compiled fine.
I've finished the install and enabled it and now I have *exactly* the same
problem I had last time I tried to install it.
"Parse error: parse error in code-global on line 68" when invoking Asgard.
Last time I tracked it down to the code snippet "tree" being truncated. It's
the same this time. It is truncated at;
// function_top_page_element function top_page_element($id, $level=0,
$poid="") { if(!$id) return array("", ""); $oid =
$this->get_oid("page_element", $id, $poid); if(!($element =
mgd_get_page_element($id))) return array("", ""); if($this->sg != "all" &&
$element->sitegroup != $this->sg) return array("", ""); $iselement =
$this->has("page_element", $oid); if($poid && !$this->get($poid)) return
array($iselement, ""); $this->push(); $oid = $this->get_oid("page_element",
$id); if(!$this->isdisp($oid, &$dummy)) { $code .= $this->sel_attr($oid);
if($this->olink("page_element", "attachment")) $code_att =
$this->p_attachment($element, "page_element", $level + 2);
if($this->olink("page_element", "parameter")) $code_param =
$this->p_param_domain($element, "page_element", $level + 2);
if($this->olink("page_element", "callback")) $code_cb =
$this->callback("page_element", $element, $oid, $level + 2); $code .=
$this->sel_obj($oid); $code .= indent($level + 2) . anchor($oid) .
$this->href_sel("page_
The "tree" snippet is 96Kb long. This seems to truncate around 2/3rds of the
way through. Does anyone have any ideas on what could cause this? Has anyone
else got Asgard running under FreeBSD?
BTW, the old admin site and the example site both work fine!
Carl.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]