CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • new to development and svn
Pages: [1]

Author Topic: new to development and svn  (Read 2758 times)

mrhota

  • Guest
new to development and svn
March 02, 2008, 12:18:01 am
and I followed the instructions on how to set up a development install from svn as best I could. I seem to have gotten to the GenCode.php step without much trouble. However, when I run "php GenCode.php" (or "php -d max_execution_time=600 GenCode.php") I get an error:

Fatal error: Call to undefined function simplexml_import_dom() in ./GenCode.php on line 388

My hunch is that the instructions left out a step or two (or assumed users wouldn't have to be hand-held all the way through the process). What did I miss? And do you need any more info about this scenario?

--

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: new to development and svn
March 02, 2008, 12:24:15 am

I assume u have pretty good reason for running from svn :) I also assume u r using the 2.0 branch (since trunk is going to start getting unstable fairly soon, once we start work on 2.0)

the below error means simplexml is not enabled in your php install. u need to have php5 installed with the simplexml extension

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mrhota

  • Guest
Re: new to development and svn
March 02, 2008, 12:53:27 am
Quote
I assume u have pretty good reason for running from svn
Is "Because that's what the instructions told me what to do" a good reason?  :)

Quote
I also assume u r using the 2.0 branch (since trunk is going to start getting unstable fairly soon, once we start work on 2.0)
I checked out trunk and 2.0 from svn.

I found out exactly all that I've got disabled, besides simplexml... will lacking any of these cause future problems?
Quote
    './configure' '--prefix=/usr/lib64/php5' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/lib64/php5/man' '--infodir=/usr/lib64/php5/info' '--sysconfdir=/etc' '--cache-file=./config.cache' '--with-libdir=lib64' '--disable-cli' '--with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2-php5' '--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active' '--without-pear' '--disable-bcmath' '--with-bz2' '--enable-calendar' '--without-curl' '--without-curlwrappers' '--disable-dbase' '--enable-exif' '--without-fbsql' '--without-fdftk' '--disable-filter' '--enable-ftp' '--with-gettext' '--without-gmp' '--disable-hash' '--disable-json' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql' '--without-mssql' '--with-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo' '--without-pgsql' '--disable-posix' '--with-pspell' '--without-recode' '--disable-simplexml' '--disable-shmop' '--without-snmp' '--disable-soap' '--enable-sockets' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--without-xsl' '--disable-zip' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--without-flatfile' '--with-gdbm' '--without-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--with-imap' '--with-imap-ssl' '--with-ldap' '--without-ldap-sasl' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-mysqli' '--with-unixODBC=/usr' '--without-adabas' '--without-birdstep' '--without-dbmaker' '--without-empress' '--without-esoob' '--without-ibm-db2' '--without-iodbc' '--without-sapdb' '--without-solid' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite'

Now I just have to figure out how to enable simplexml...

Thanks for the hasty response!
A.J.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: new to development and svn
March 02, 2008, 01:02:24 am

If you are not doing any civicrm development, you probably should *not* be installing from svn. We do need the simplexml extension for yahoo/google mapping etc

You can download civicrm from: http://downloads.civicrm.org/

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mrhota

  • Guest
Re: new to development and svn
March 02, 2008, 01:41:32 am
for regular installs I always download from Sourceforge.

I wanted to help develop in some way; hence, svn. I just checked out the code from svn tonight. I 've been reading about the arch and api for a couple of weeks now.

I'm trying to get my organization (www.fee.org) to switch from Raiser's Edge to CiviCRM, and the only major drawback to the switch are the difficulties of reporting with BIRT+CiviCRM.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: new to development and svn
March 02, 2008, 12:17:32 pm

oh cool. thats good news :)

1. do u have a conversion script from raiser's edge to civicrm?

2. how do you deal with accounting in civicrm, i.e. do u export to quickbooks or something?

3. can you give us some examples of reports you want created. Also some details on what difficulties you are facing with BIRT/CiviCRM. We'd be happy to help consult and build some reports for FEE if needed. Also based on your needs, the new custom search facility might be a possibility

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mrhota

  • Guest
Re: new to development and svn
March 02, 2008, 12:49:47 pm
Remember I'm new to CiviCRM, as well as to development.

Quote
1. do u have a conversion script from raiser's edge to civicrm?

No. And I wish I knew more about what that entails. Since Raiser's is so critical to our current operations, I don't want to have us switch cold-turkey. I imagined CiviCRM as more like a container for constituent info collected from our website as a first step. Then, after we're comfortable with the idea of switching, we'd fully move over to CiviCRM. Meanwhile, I'd hoped to utilize the CiviEvents and Contribute to accept registrants and gifts. And I think we would then export constituent, event and contribution data to csv for import into RE and Quickbooks.

Quote
2. how do you deal with accounting in civicrm, i.e. do u export to quickbooks or something?

We'll soon be getting a new website, which is where the opportunity for a future implementation of CiviCRM lies. Currently, I just futz around with it on a localhost to familiarize myself with it. We currently use RE to track contribs and I believe that data is exported/imported into Quickbooks. I hope to help with that by getting some measure of integration between our departments/systems. But as yet I don't know the first technical detail about how to implement something reasonable.

Quote
3. can you give us some examples of reports you want created. Also some details on what difficulties you are facing with BIRT/CiviCRM. We'd be happy to help consult and build some reports for FEE if needed. Also based on your needs, the new custom search facility might be a possibility

The difficulties are really just the steep personal learning curve. I'm just learning PHP and SQL, you see. And dealing with BIRT is a tad bit difficult unless you know exactly what you want and how to get it. I don't work in the IT or the development/donor depts. and I don't know the ins-and-outs of our constituent management practices. Rather than burden you experienced developers with coming up with reports for our needs, I'd like to be able to create new reports and contribute them back to this project. We'll see how it goes. :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • new to development and svn

This forum was archived on 2017-11-26.